BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
clauspollas
Fluorite | Level 6

Hi community,

I´m new in this forum, so bare with me.

 

I´m testing PROC SGPLOT from SAS Studio, university edition. I want to produce an HTML file, with some graphics embedded. But in stead of showing the graphic in the HTML file, it only shows a small icon with an 'X'.

 

I tried this code:

 

ods html path="&path" body='test.html' (url=none);

ods graphics / reset imagefmt=jpeg ;

data one;
   input trt_group time subject results;
   datalines;
1 2 100 20
1 4 100 30
1 6 100 35
1 8 100 50
1 2 200 40
1 4 200 25
1 6 200 40
1 8 200 30
1 2 300 25
1 4 300 40
1 6 300 45
1 8 300 55
2 2 400 15
2 4 400 35
2 6 400 50
2 8 400 45
2 2 500 35
2 4 500 35
2 6 500 20
2 8 500 35
;
run;

proc sgplot data=one;
   title 'Study Results by Treatment Group';
   series x=time y=results / group=subject grouplc=trt_group name='grouping';
   keylegend 'grouping' / type=linecolor;
run;

ods html close;

 

Any suggestions? Is it an 'university edition' issue?

 

Kind regards

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

See if moving the URL=NONE to immediately after the PATH="&path" helps.

View solution in original post

2 REPLIES 2
ballardw
Super User

See if moving the URL=NONE to immediately after the PATH="&path" helps.

clauspollas
Fluorite | Level 6

Thanks a lot ballardw - it worked just fine 🙂

 

 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1307 views
  • 1 like
  • 2 in conversation