comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » axis labels in SURFACE all wrong
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
axis labels in SURFACE all wrong [message #18610] Tue, 18 January 2000 00:00 Go to next message
noymer is currently offline  noymer
Messages: 65
Registered: June 1999
Member
Dear comp.lang.idl-pvwave,

I am making some surfaces using the SURFACE
command and the X axis label is vertical, as if
it were the Z axis label, instead of running
parallel to the axis. The Y axis label is OK,
but it is too close to the axis.

Has anyone encountered this before?

TIA,
Andrew

noymer@my-deja.com


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: axis labels [message #21575 is a reply to message #18610] Tue, 05 September 2000 09:46 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mirko Vukovic (mvukovic@taz.telusa.com) writes:

> I have a plot of x vs. y. I would like before hand to know
> what tick-values of x IDL will put. One way is to create a dummy
> plot and obtain the tick values.
>
> Is there some more direct way? I thought IDL had a routine for that
> but could not find it.

You could probably figure out a way to create an IDLgrAxis
object using the same range, divisions, etc. as your direct
graphics axis. Then inquire of the object what its tick values
are. Then destroy the object and create your direct graphics
plot. I think the algorithms used for direct and object graphics
are very similar, if not identical. You could even use the
object tick values as input to your direct graphics plot if
you wanted to.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: axis
Next Topic: NetCDF file object

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 14:53:12 PDT 2025

Total time taken to generate the page: 1.59977 seconds