Setting ranges on surfaces [message #12894] |
Tue, 15 September 1998 00:00 |
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 _/_/_/
|
|
|