hi,
how can I change the color of box plots that I get after running proc univariate procedure?
here is my code;
ods graphics on;
proc univariate plot normal data=mydata.butner_new1;
by spacing;
var t5 t10 moisture log_flux1 log_flux2 ratio;
run;
ods graphics off;
You can change the STYLE, which is the easiest method.
If you want more control try using PROC SGPLOT with VBOX or HBOX. Then you can customize a lot more, but more code of course.
@smorkoc wrote:
hi,
how can I change the color of box plots that I get after running proc univariate procedure?
here is my code;
ods graphics on;
proc univariate plot normal data=mydata.butner_new1;
by spacing;
var t5 t10 moisture log_flux1 log_flux2 ratio;
run;
ods graphics off;
After they are created? If you have the SAS ODS Graphics Editor installed, start it. Then navigate to the location the graphic image was saved using the File menu selection box, select the image. (The name of the file should be in the log).
Depending on the type of edit you want you can edit and insert stuff. Read the documentation.
Or modify the code to use the colors you want as @Reeza suggests and recreate the graph. That may be faster in the long run.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: