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

Home » Public Forums » archive » supress axes
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
supress axes [message #14000] Tue, 12 January 1999 00:00
lbryanNOSPAM is currently offline  lbryanNOSPAM
Messages: 21
Registered: July 1998
Junior Member
Hello all,

Excuse me if this is a repost. I'm not sure if it made it through.

I want to supress the axes on a shade_surf plot. I see that I can use
[xyz]style = 4 to do this, but I am currently using [xyz]style = 1 to
force my axes to a certain start and stop value. So when I set
[xyz]style = 4, my axes' lengths revert to IDL's defaults which is
undesireable. Is my only option creating a new set of axes to match
the old axes from shade_surf with the AXIS procedure and set these
to the background color (which seems a pain) or is there something
simpler I am missing?


Lisa Bryan
lbryan@arete-az.com
Arete Associates
Tucson AZ

Lisa Bryan
Arete Associates
Tucson, Arizona
lbryan@arete-az.com
Re: supress axes [message #14011 is a reply to message #14000] Sat, 09 January 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mike Schienle (mgs@ivsoftware.com) writes:

> The [xyz]styles are bitwise. This ought to do what you're looking for.
>
> IDL> shade_surf, data, xstyle=5, ystyle=5, zstyle=5

Uh, just for those of us who are a little confused by
computer jargon, "bitwise" means the values can be
added together. For example:

; To turn an axis off.

Plot, data, XStyle=4

; To make an axis an exact length.

Plot, data, XStyle=1

; To turn an axis off AND make it an exact length.

Plot, data, XStyle = 4 + 1

As the values are added together, certain bits get set.
These bits tell the program what to do. :-)

Now, back to your regularly scheduled program...

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: supress axes [message #14015 is a reply to message #14000] Sat, 09 January 1999 00:00 Go to previous message
mgs is currently offline  mgs
Messages: 144
Registered: March 1995
Senior Member
In article <36969b38.19631047@news1.alterdial.uu.net>,
lbryanNOSPAM@arete-az.com (Lisa Bryan) wrote:

> Hello all,
>
> I want to supress the axes on a shade_surf plot. I see that I can use
> [xyz]style = 4 to do this, but I am currently using [xyz]style = 1 to
> force my axes to a certain start and stop value. So when I set
> [xyz]style = 4, my axes' lengths revert to IDL's defaults which is
> undesireable. Is my only option creating a new set of axes to match
> the old axes from shade_surf with the AXIS procedure and set these
> to the background color (which seems a pain) or is there something
> simpler I am missing?

The [xyz]styles are bitwise. This ought to do what you're looking for.

IDL> shade_surf, data, xstyle=5, ystyle=5, zstyle=5

--
Mike Schienle Interactive Visuals, Inc.
mgs@ivsoftware.com http://www.ivsoftware.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Routine_info bug in 5.2
Next Topic: IDL using MATLAB DLL's

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

Current Time: Wed Oct 08 15:12:52 PDT 2025

Total time taken to generate the page: 0.00441 seconds