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

Home » Public Forums » archive » Re: Setting ranges on surfaces
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Setting ranges on surfaces [message #12880 is a reply to message #12878] Wed, 16 September 1998 00:00 Go to previous messageGo to previous message
Alexander Proussevitc is currently offline  Alexander Proussevitc
Messages: 3
Registered: September 1998
Junior Member
Hi Richard:

The answer is


Surface, z(10:50,*), x(10:50), y, XRange=[10,50]


- Alex P.

PS If you need, I can write almost all kinds of programs (including
interfaces and complex math) in this language for very little money

------------------------------------------------------------ ------
Alexander A. Proussevitch alex.proussevitch@unh.edu
Research Scientist

Climate Change Research Center, office (603)862-4796
Institute for the Study of fax (603)862-0188
Earth, Oceans, and Space,
University of New Hampshire,
Morse Hall, Room 357,
Durham, NH 03824-3525, USA
------------------------------------------------------------ ------


Richard D. Hunt wrote:
>
> 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 _/_/_/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: object reference in a structure
Next Topic: Re: array subscripts

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

Current Time: Tue Dec 02 11:53:56 PST 2025

Total time taken to generate the page: 0.72029 seconds