BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Dear,

I want to create a graphic that only have mean and SD (or SE).
The graphic is like this: http://adolphus.pixnet.net/album/photo/104475158#pictop
Can I use SAS to create this kind of graphic, if yes, how can I do this?
Thanks.

Adolphus
3 REPLIES 3
Eva
Quartz | Level 8 Eva
Quartz | Level 8
Hi Adolphus,

I'd do it like this:

Do a data step first in which you calculate the statistics that you want to use.

Then do a proc gplot with two variables. To show them both use the symbol statement. Important: the horizontal axis must be the same variable for both statistics (e.g. year or the like).

symbol1 value=diamond interpol=none color=red;
symbol2 vaue=dot interpol=none color=blue;

proc gplot data=mydata;
plot
myverticalvalue1*horizontalvalues
myverticalvalue2*horizontalvalues / overlay;
run;
quit;

If the OVERLAY option were not specified, each plot request would generate a separate graph.

Best regards,
Eva
deleted_user
Not applicable
Hi Eva,

I think I didn't say very clearly that make you do the wrong work. Really sorry.
I want to make a graphic a little like this http://adolphus.pixnet.net/album/photo/104513065#pictop
But it is vertical (I think I can solve this problem ), and I don't want the bar.
So the graphic would like this http://adolphus.pixnet.net/album/photo/104513494#pictop
I do not sure that SAS can make this kind of graphic, if can please tell me how to do this.
Thanks.

Best regards,
Adolphus
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
The SAS support http://support.sas.com/ website has much information about different graphics and charting (data visualization) types, including box plots and others. Also, the SAS/Graph software documentation is hosted at the SAS support website as well with solution and code examples.


Scott Barry
SBBWorks, Inc.


http://support.sas.com/rnd/datavisualization/index.htm

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 3 replies
  • 631 views
  • 0 likes
  • 3 in conversation