Good day,
The following code successfully saves the plot 'gplot##.png' in the desired location on my desktop.
I would like to name the plot something other than 'gplot##.png'. In the following attempt, I tried to name the png image, 'graph.png'.
What I would like to know is how to specify the name of the 'png' image.
filename odsout "C:\Users\jawhitmi\Desktop\";
ods _all_ close;
goptions reset=all border device=png;
proc format;
value mmm_fmt
1='Al '
2='B '
3='Ca '
4='Cl '
5='Fe '
6='Li '
7='Mg '
8='NO2'
9='NO3'
10='Na '
11='S '
12='Si '
13='TOC'
14='Ti '
15='Zn '
16='Zr '
;
run;
ods html path=odsout body="graph.png" style=statistical;
title1 "Maximum Ratio of Run 3 over Law 6";
symbol1 interpol=join value=dot;
proc gplot data=work.calc_ratios;
plot MaxRatio*Compound / hminor=0;
run;
symbol1 interpol=join width=2 value=circle c=indigo;
legend1 label=none value=(tick=1 "Ug/Ml");
format compound $3.;
quit;
Thank you for your time and feedback.
Jane