BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Dear,

I make a graphic like this,
http://adolphus.pixnet.net/album/photo/104578388#pictop
but this is not what I want, I want to change the item order.
I want the item order like this:
JPXF--60, JPXF--30, JPXF-0, JPXF-30, JPXF-60..................
I try many method, but I can overcome this problem.
Can someone help me solve this problem? Thanks.

Adolphus

PS:Here is my core:

dm'clear log';dm'clear output';
data tmp1;
set sprint.sprintraw1;

goptions goutmode=replace cback=white
cpattern=white
csymbol=none
reset=global border
ftext=swiss
ftitle=swissb htitle=5 htext=1;

axis2 order=(60 to 120 by 5);

proc gchart data=tmp1;
hbar index2 / type=mean
sumvar=obs
errorbar=both
raxis=axis2
coutline=black
noframe
;
run;
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You will need to investigate either using a SAS format or by listing explicit value order, as desired. Here is a SAS technical paper from the SAS support http://support.sas.com/ website on the topic.

Scott Barry
SBBWorks, Inc.

Achieving Graphical Excellence With SAS/GRAPHÒ Software
Archer R. Gravely, UNC Asheville, Asheville, NC
http://www2.sas.com/proceedings/sugi24/Infovis/p169-24.pdf

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
  • 1 reply
  • 519 views
  • 0 likes
  • 2 in conversation