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

Home » Public Forums » archive » how smooth surface
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
how smooth surface [message #68606] Fri, 13 November 2009 02:02
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
Good day!

I try to do some smooth on surface. Can somebody help with it ? As i
read IDL help i need call function MIN_CURVE_SURF. When I try to use
it i've got different errors. I toggle comment for it now.

How right use MIN_CURVE_SURF or may be other smoothing functions ? Any
limit on points for it ?

Thanks at advance

Here is code with my data

;data
temperature=[[3.1,5.2,4.6,5.25,3.3,1.5,4.3],$
[2.6,2.6,2.8,1.5,3.6,3.1,2.8],$
[4.6,4.9,5.2,5.5,5.86,2.6,2.2],$
[7.25,6.9,7.7,8.5,3.6,6.8,4.76],$
[8.1,7.4,4.5,1.42,1.54,1.4,1.25],$
[1.43,5.2,1.5,1.75,1.33,1.4,1.25],$
[7.5,7.4,4.7,1.3,1.16,3.3,2.5],$
[6.98,1.6,1.92,1.6,1.2,3.5,3.8],$
[1.5,1.0,1.58,2.6,8.3,6.8,3.2],$
[2.78,8.70,2.51,3.61,3.8,3.93,3.5],$
[1.2,3.17,9.3,1.96,5.3,4.9,4.5]]

;degrees and time
dgr=[0,5,10,15,20,25,30,35,40,45,50]
time=['1','2','3','4','5','6','7']

DEVICE,DECOMPOSED=0
LOADCT,39,NCOLORS=200

;temperature1
WINDOW,/FREE,XSIZE=500,YSIZE=650,TITLE="TEMPERATURE1"
SHADE_SURF,temperature,time,dgr,/SAVE,YTICKS=7,$
XTICKNAME=time,COLOR=0,BACKGROUND=255,XTITLE='Time',YTITLE=' Degrees',AX=90,$
AZ=360,YSTYLE=1,YRANGE=[0,50],XSTYLE=1,XRANGE=['1','7'],XTIC KS=6


;temperature2
WINDOW,/FREE,XSIZE=500,YSIZE=650,TITLE="TEMPERATURE2"

;test MIN_CURVE_SURF
;temp=MIN_CURVE_SURF(temperature,/DOUBLE,/TPS)
;help,temp

SHADE_SURF,temp,time,dgr,/SAVE,YTICKS=7,$
XTICKNAME=time,COLOR=0,BACKGROUND=255,XTITLE='Time',YTITLE=' Degrees',AX=90,$
AZ=360,YSTYLE=1,YRANGE=[0,50],XSTYLE=1,XRANGE=['1','7'],XTIC KS=6
[Message index]
 
Read Message
Previous Topic: Re: Savitzky-Golay filter
Next Topic: Re: Randomu seed initialization

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

Current Time: Wed Oct 08 15:22:49 PDT 2025

Total time taken to generate the page: 0.00448 seconds