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

Home » Public Forums » archive » COLORBAR
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: Colorbar [message #74327 is a reply to message #56724] Thu, 13 January 2011 18:53 Go to previous messageGo to previous message
kisCA is currently offline  kisCA
Messages: 78
Registered: January 2011
Member
It works with FSC_PlotS and FSC_text (its looks like you have made idl
a matlab like with all these command :)), but the red didn't gone...

Don't know why it has worked one and only one time after I quit IDL
and then restart it :( I tried to do the same but nothing change.

I have change a predefined colorbar with XPALETTE and then change it
with MODIFYCT, maybe it come from that but I am not sure.

If you see anything in my commands that could explain this thing...

!p.font=0
set_plot, 'ps'
ext='.eps'
!p.thick=3 ;data
!x.thick=2 ;x axis
!y.thick=2 ;y axis
device, filename='QBO response'+ext, encapsulated=eps, $
/helvetica,/isolatin1, xsize=14, ysize=12,font_size=8,
landscape=0, color=1, $
decomposed=0, bits_per_pixel=8
nlevels = 16
levels = -0.8+indgen(nlevels)*0.1
pos = [0.1, 0.1, 0.9, 0.75]
LoadCT, 3, NColors=nlevels, Bottom=1
FSC_Contour, QBOmod,time,Zproxy, NLevels=nlevels, Levels=levels, /
Fill,C_Colors=Indgen(nlevels)+1, Position=pos
FSC_Contour, Upos,time,zs, NLevels=4, /Overplot, C_linestyle=0,
label=0
FSC_Contour, Uneg,time,zs, NLevels=4, /Overplot, C_linestyle=1,
label=0
FSC_Colorbar, RANGE=[-0.8, 0.8],NColors=nlevels, Bottom=1,
Format='(F0.1)',Divisions=nlevels/2, XMinor=0, color=0
FSC_plots,[1995,1996],[13.9,13.9],linestyle=0,color=0
FSC_text,1996.2,13.9,'Singapore zonal wind (u>0)', color=0
FSC_plots,[1995,1996],[12.4,12.4],linestyle=1,color=0
FSC_text,1996.2,12.4,'Singapore zonal wind (u<0)', color=0
device,/close

Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: r_correlate; get "loop limit expression too large" error with /Kendall
Next Topic: IDL 8.0 plot lat/lon data into map

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

Current Time: Fri Oct 10 16:35:29 PDT 2025

Total time taken to generate the page: 1.75971 seconds