supress axes [message #14000] |
Tue, 12 January 1999 00:00 |
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  |
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  |
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/
|
|
|