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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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