Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!psuvax1!psuvm!EBAY!CLAIREC From: clairec@EBAY.SUN.COM (Claire Castell) Newsgroups: bit.listserv.sas-l Subject: Graphics Vertical Axis solved Message-ID: <9002080027.AA02794@zydeco.EBay.Sun.COM> Date: 8 Feb 90 00:27:19 GMT Sender: "SAS(r) Discussion" Reply-To: Claire Castell Lines: 57 Approved: NETNEWS@PSUVM Gateway Comments: To: SAS-L%VTVM2.BITNET@VTVM1.CC.VT.EDU This did it !Thanks! PROC GCHART DATA = STATNEW GOUT=GRAPH.grafcat ; AXIS1 VALUE = (H=1) LABEL = (H=2 A=-90 R=90 'AVERAGE RESPONSE' ) /* ROTATE LABEL !*/ ORDER = 0 TO 10 BY 1 ; VBAR MONTH / TYPE=MEAN SUMVAR=&AVERATE NAME="&NAME" RAXIS=AXIS1 MAXIS=AXIS2 CAXIS=BLACK DISCRETE ANNOTATE=ANNO4 HREF=&GOAL; ....etc code ;;; As far as I can tell there are no explicit examples in the 6.03 graphics book and I've only managed to do this in the past when SAS occasionaly defaulted to this. My previous code was A=90 which put the label on it's side. (Ps: I'm using SAS on a 3/150 -Sun OS/4) ----- Begin Included Message ----- From @pucc.PRINCETON.EDU:MMAXIM%F3@sc.intel.com Wed Feb 7 15:07:47 1990 Subject: re: graphics vertical axis label To: clairec%ebay.sun.com@PUCC.PRINCETON.EDU X-Vms-To: DELPHI::IN%"clairec%ebay.sun.com@pucc.princeton.edu" Hi; Try the following: // proc gplot data=plotdata; plot a*b=c / vaxis=axis1 haxis=axis2 legend=legend1; axis1 label=(a=-90 r=90 'vertical axis label'); axis2 label=('horizontal axis label'); legend1 label=('legend:') across=3 down=1 frame; run; // The a=-90 causes it to be rotated 90 degrees down, +-- 0 deg | -90 and the r=90 rotates the letters back to horizontal. Not terribly intuitive, but it works. There are lots more details (with examples) in the SAS/GRAPH manual, in chapter 4 (pp 30-50 and 70-76). Hope you're using a 386i/486i :-) M2. ----- End Included Message -----