The LEGEND statement permits the following option you'll find in the
online docs.
<Quote>
ORDER=(value-list)
selects or orders the legend values that appear in the legend. The way
you specify value-list depends on the type of variable that generates
the legend:
</Quote>
Kind regards
David
The Moving Finger writes; and, having writ,
Moves on: nor all your Piety nor Wit
Shall lure it back to cancel half a Line,
Nor all your Tears wash out a Word of it
Omar Khayyam (trans: Edward Fitzgerald)
-----Original Message-----
From: SAS(r) Discussion [mailto: XXXX@XXXXX.COM ] On Behalf Of df
ss
Sent: Wednesday, 21 March 2007 11:53 AM
To: XXXX@XXXXX.COM
Subject: Proc gplot / legend question
Hi SASor,
Suppose I run the following code:
symbol1 .....;
symbol2 .....;
symbol3 .....;
symbol4 .....;
symbol5 .....;
proc gplot data=a;
plot var1*var2/ id;
run;
quit;
If the id contents 1,2,3,4 and 5; after I ran the code I will get the
graph with legend for the 5 ids with difference symbols by order 1,2,3,4
and 5 sequentially.
What I want is to re-order the legend sequence by 4,2,3,1 and 5.
Is there a way to customize the legend sequence?
Thanks,
ss df
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo!
Games.
************** IMPORTANT MESSAGE *****************************
This e-mail message is intended only for the addressee(s) and contains information which may be
confidential.
If you are not the intended recipient please advise the sender by return email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
specifically indicated, this email does not constitute formal advice or commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.
We can be contacted through our web site: commbank.com.au.
If you no longer wish to receive commercial electronic messages from us, please reply to this
e-mail by typing Unsubscribe in the subject line.
**************************************************************