BookmarkSubscribeRSS Feed
Suvathi
Calcite | Level 5

Hi all,

 

I am getting 1 st diagram as my output but I needed output same as like the 2nd diagram.

 

I have used the following code.

 

proc sgplot data=graph_ae;

highlow y=aeterm low=aestdy high=aeendy / type=line group=aeser
lineattrs=(/*color=blue*/ pattern=solid) barwidth=0.8
/*lowlabel=aeterm*/ highcap=FILLEDARROW /*attrid=Severity;*/;
scatter y=aeterm x=adurn / x2axis markerattrs=(size=0);
xaxis grid display=(nolabel) offsetmax=0.02 values=(0 to 60 by 2);
yaxis grid display=(noticks nolabel);
run;

 

1. the Plot term should present inside the graph. (I have specified with arrow)

 

2. I have to specify condition at the end plot. (please refer to the second diagram)

 

Thanks in advance.

 


MH_GRAPH_MINE.PNGMH_GRAPH_ORIGINAL.PNG

1 REPLY 1

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 361 views
  • 0 likes
  • 2 in conversation