[Date Prev][Date Next][Index][Thread] [SGT Mail Archive] [SGT Main Page]

RE: Inverse Y Axis



*************************************************
Message from the sgt mail list.
*************************************************

Exactly what I wanted. Thanks!

> -----Original Message-----
> From:	Donald Denbo [SMTP:dwd@pmel.noaa.gov]
> Sent:	Wednesday, December 11, 2002 5:28 PM
> To:	Guidry, Wayne J (Anteon)
> Cc:	'sgt@epic.noaa.gov'
> Subject:	Re: Inverse Y Axis
> 
> Wayne,
> 	If your using JPlotLayout then you can set the SGTMetaData to
> reversed 
> in the constructor.  If your using the SGT components directly, then 
> you need to reversed the order of the user coordinates in the the 
> AxisTransform object.  These are  actually "start" and "end" quantities 
> (see the Range2D documentation).
> 
> Don
> 
> 
> On Wednesday, December 11, 2002, at 11:13  AM, Guidry, Wayne J (Anteon) 
> wrote:
> 
> > *************************************************
> > Message from the sgt mail list.
> > *************************************************
> >
> > I'm trying to plot temperature (x) and depth (y) and need to reverse 
> > the
> > y-axis scale so that 0 will be at the top and max depth will be at the
> > bottom. It seems to default to 0 at the bottom. How do I change this? 
> > Thanks
> >
> > *************************************************
> > To remove yourself from this mailing list,
> > send mail to <Majordomo@epic.noaa.gov> with
> > "unsubscribe sgt" in the message body.

*************************************************
To remove yourself from this mailing list,
send mail to <Majordomo@epic.noaa.gov> with
"unsubscribe sgt" in the message body.