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

Home » Public Forums » archive » Re: contour erasing my shade_surf
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
Re: contour erasing my shade_surf [message #60163] Sun, 27 April 2008 11:01
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
skymaxwell@gmail.com writes:

> I try to merge my surface with contour lines

Ah, well, good luck! :-)

I'd have a look at something like SHOW3 or maybe SURF_CONTOUR:

http://www.dfanning.com/misc/surf_contour.pro

The chances of merging contour lines with a surface are
slim and none, mostly do to rounding problems and the like.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: contour erasing my shade_surf [message #60164 is a reply to message #60163] Sun, 27 April 2008 10:49 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
On Apr 27, 8:48 pm, David Fanning <n...@dfanning.com> wrote:
> skymaxw...@gmail.com writes:
>> How to do not erase ?
>> I think that NOERASE keyword must to do it
>
> Well, the contour didn't "erase". It was "drawn on top of"
> the thing that was already there.
>
> What are you trying to do?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I try to merge my surface with contour lines
Re: contour erasing my shade_surf [message #60165 is a reply to message #60164] Sun, 27 April 2008 10:48 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
skymaxwell@gmail.com writes:

> How to do not erase ?
> I think that NOERASE keyword must to do it

Well, the contour didn't "erase". It was "drawn on top of"
the thing that was already there.

What are you trying to do?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: contour erasing my shade_surf [message #60166 is a reply to message #60165] Sun, 27 April 2008 10:33 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
On Apr 27, 8:27 pm, David Fanning <n...@dfanning.com> wrote:
> skymaxw...@gmail.com writes:
>> My contour is erase shade_surf :(
>> in contour i use NOERASE keyword...
>
>> temp=data1
>> help,data1
>> temp=MIN_CURVE_SURF(temp,/REGULAR,NX=31,NY=8)
>> help,temp
>> levels=[0.0025,0.005,0.0075,0.01,0.0125,0.0150,0.0175,0.02]
>
>> WINDOW,/FREE,XSIZE=850,YSIZE=ysize
>
>> SHADE_SURF,data1,AX=90,AZ=360,SHADES=BYTSCL(data1,TOP=255),Y TICKS=7,$
>> YTICKNAME=y_axis,COLOR=0,BACKGROUND=255,XTITLE='Days',YTITLE ='P'
>
>> CONTOUR,temp,/NOERASE,NLEVELS=8,LEVELS=levels,/
>> FILL,C_COLORS=[75,100,125,150,175,200,225,250]
>
> Uh, well, what were you expecting it to do?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

How to do not erase ?
I think that NOERASE keyword must to do it
Re: contour erasing my shade_surf [message #60168 is a reply to message #60166] Sun, 27 April 2008 10:27 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
skymaxwell@gmail.com writes:

> My contour is erase shade_surf :(
> in contour i use NOERASE keyword...
>
>
> temp=data1
> help,data1
> temp=MIN_CURVE_SURF(temp,/REGULAR,NX=31,NY=8)
> help,temp
> levels=[0.0025,0.005,0.0075,0.01,0.0125,0.0150,0.0175,0.02]
>
> WINDOW,/FREE,XSIZE=850,YSIZE=ysize
>
> SHADE_SURF,data1,AX=90,AZ=360,SHADES=BYTSCL(data1,TOP=255),Y TICKS=7,$
> YTICKNAME=y_axis,COLOR=0,BACKGROUND=255,XTITLE='Days',YTITLE ='P'
>
> CONTOUR,temp,/NOERASE,NLEVELS=8,LEVELS=levels,/
> FILL,C_COLORS=[75,100,125,150,175,200,225,250]

Uh, well, what were you expecting it to do?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour erasing my shade_surf
Next Topic: Documenting IDL routines

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

Current Time: Wed Oct 08 13:42:46 PDT 2025

Total time taken to generate the page: 0.00625 seconds