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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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