Hi Francoise,
Would something like the example below would work for you? You would need to define the location of your logo, its size, and the basic graphic script for your graph but this would produce a scaled logo for any range of X and Y.
Names Default to Here (1);
dt = New Table( "TEST", // Data table with random values to generate the plot
Add Rows( 100 ),
New Column( "X",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Selected,
Set Values(
[21.604267670773, 65.1840655598789, 63.9612922910601, 22.8948999196291,
95.2833963325247, 3.2212414778769, 49.1043479880318, 42.5963327055797,
63.8660352677107, 39.5536601543426, 28.6796837346628, 3.50972779560834,
28.075271169655, 8.49661957472563, 20.3755764989182, 83.6359378881752,
3.62614209298044, 35.5950675904751, 51.248727994971, 83.7402616394684,
10.4515886865556, 99.8378499643877, 41.728458344005, 5.62243182212114,
6.22294011991471, 54.3364691082388, 71.3329024612904, 17.88728563115,
65.7264725770801, 50.3447215305641, 59.653594600968, 96.0840807761997,
60.8577059349045, 94.5946247782558, 33.0318504478782, 4.00700159370899,
14.6971725393087, 2.46649810578674, 34.2856609495357, 41.0217246040702,
95.0636420864612, 65.7411249121651, 31.3783916877583, 40.0306601542979,
95.3891959739849, 97.7424820885062, 19.0411441959441, 49.568764003925,
29.9149832455441, 34.1546529438347, 24.0073789143935, 70.1950386166573,
57.2695491835475, 34.6165782073513, 62.1048434171825, 67.7597232395783,
79.9816782819107, 79.6977202873677, 43.3209325419739, 3.2935707597062,
54.7004909487441, 87.5825981842354, 10.7275887625292, 7.94863789342344,
88.7516725575551, 99.5848889229819, 91.6995525825769, 90.0681236293167,
44.4242344005033, 89.9793466553092, 41.3738596485928, 35.0136108696461,
33.8649888290092, 61.4678845275193, 58.2032351754606, 93.1024184916168,
26.4613768318668, 32.012492720969, 98.359270230867, 95.9421672392636,
52.528054988943, 5.39883754681796, 98.2010706327856, 74.1818828508258,
5.50760917831212, 53.1705538975075, 61.6818373790011, 2.74703572504222,
88.8118671486154, 93.7673506094143, 1.21262422762811, 21.0967151913792,
64.6029672585428, 11.5191049175337, 44.3092960398644, 70.9723101695999,
15.9873991040513, 59.7742771962657, 49.6693954337388, 11.0615018056706]
)
),
New Column( "Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values(
[1.19285128506379, -0.42108399475108, -0.670075240982732,
0.515301422915519, -1.48537886083874, -1.57427003402549,
-0.796236308494272, -0.514890304767751, 0.53621130638236, 2.358976887613,
-0.472141837169177, 2.01556128397673, -0.127991473646732,
-0.0311994113295843, -0.242984052466835, 0.354179271730879,
0.692432108701684, 0.878377314907361, -0.782023496590611,
0.123327066808456, -0.968791265172666, -0.86482060813563,
-1.06010573047635, 0.653918253116045, -0.82678669462079,
-0.990506813319921, 0.447900553835892, 0.95182327872054,
-0.515564755171072, -0.941511053888663, 2.496120470661,
0.496500577786898, 0.755834065782117, 1.67283567908552,
-0.730941365233543, -0.463199023648659, 0.85048798107869,
-0.610132465147117, -0.626550907600111, -0.0429924074041327,
-0.756549879539378, -1.02675571678653, -0.275799376506868,
1.63751390026675, 0.572367268453145, -0.914314000530626,
-0.447554761324865, -0.624029020459327, -1.67866281558653,
1.75316302578113, 0.0651814007411095, -0.193423654602536,
0.77353355577498, -0.61071526406903, 0.195821653444086,
-0.0981342108426972, 0.532523010343189, 1.45996052252862,
-0.567887426897949, -0.0719214097527574, -0.589058013770826,
-1.29419886492749, 0.709756536807312, -0.457833257192085,
0.947424868997863, -0.699261565430252, 1.27162828620802,
-0.826837794769445, 0.0223587520315603, 1.8202021997745,
1.36956856377743, 1.84456201956966, -1.06367260695041, 1.05474094456613,
0.27009120039433, 0.11315734532046, -0.219233301472185,
-1.72658582364399, 0.595011843579187, -0.94286378154493,
0.590902636331254, -1.67833372374681, -1.47001823690577,
0.182324097799234, -2.40996689787336, -0.448242728354906,
-0.626544865613145, -0.833843666263634, -0.0821266536853418,
0.904088801823892, 1.97306125180149, -0.0186067884954851,
0.468557410996718, 0.0448959644992062, -0.449941581224396,
-1.14010957458464, -0.327503709561436, -0.706584173614302,
0.404354506216469, -0.0229193658484791]
)
)
);
gb = dt << Graph Builder( // Main GB Script
Fit to Window( "Off" ),
Variables( X( :X ), Y( :Y ) ),
Elements( Points( X, Y, Legend( 3 ) ) )
);
gbr = gb << report;
Xax = gbr [AxisBox (1)];
Yax = gbr [AxisBox (2)];
Xmin = Xax << Get Min;
Xmax = Xax << Get Max;
Ymin = Yax << Get Min;
Ymax = Yax << Get Max;
fb = gbr [Frame Box (1)];
img = Open ("$SAMPLE_IMAGES/windmap.png", "png"); // path to the background image
fb << Add Image ( image( img ), bounds( top( Ymax ), Left( Xmin ), bottom( Ymin ), Right( Xmax ) ));
Let us know if this is anywhere close to what you are looking for. If not, you may want to provide some more details to your inquiry.
Best,
TS
Thierry R. Sornasse