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

Home » Public Forums » archive » Setting ranges on surfaces
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
Setting ranges on surfaces [message #12894] Tue, 15 September 1998 00:00
Richard D. Hunt is currently offline  Richard D. Hunt
Messages: 8
Registered: January 1996
Junior Member
I am having problems withthte surface command in that when I start
setting ranges the surface
extends past the axis region. It works fine for 2D plots. Try these
examples.

x = FindGen(100)
y = FindGen(100)
Plot, x, y
Plot, x, y, XRange=[10,50]

Both of these ploits are fine. Now try this.

x = FindGen(100)
y = FindGen(100)
z = FindGen(100,100)
Surface, z, x, y
Surface, z, x, y, XRange=[10,50]

You will see the first surface command plots the data within the axis
region but the second
doesn't. Does anyone know how to fix this without having to resample
the data?

Rich


--

Richard D. Hunt
_/_/_/ _/ _/ _/ SANDIA NATIONAL LABORATORIES _/_/_/
_/ _/_/ _/ _/ P.O. Box 5800 M/S 0965 _/_/
_/_/_/ _/ _/ _/ _/ Albuquerque, NM 87185-0965 _/_/_/_/_/_/
/ _/ _/_/ _/ Voice: (505)844-3193 _/ _/_/ _/
_/_/_/ _/ _/ _/_/_/_/ Fax: (505)844-5993 _/ _/_/ _/
E-Mail: rdhunt@sandia.gov _/_/_/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: object reference in a structure
Next Topic: Re: Choose a image file format ?

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

Current Time: Fri Oct 10 10:52:13 PDT 2025

Total time taken to generate the page: 0.64531 seconds