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

Home » Public Forums » archive » plotting x-y error bars in IDL
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: plotting x-y error bars in IDL [message #86883 is a reply to message #86833] Tue, 10 December 2013 02:05 Go to previous messageGo to previous message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Hello,

As suggested, I replaced the following lines in my code, I don't see even lat-lon points that I was able to see earlier. Now, I see only a black grid map with lat-lon axes. I still don't understand why to invert the data and why no display of points or error bars???

xy = map -> Inverse(xlon,ylat)
lon = REFORM(xy[0,*]) & lat = REFORM(xy[1,*])
cgPlotS, xlon, ylat, PSYM=16, SYMSIZE=1.2, MAP=map, COLOR='red'

; Draw the error bars in the signal Y
yhigh = map -> Inverse(y_higherr, ylat)
ylow = map -> Inverse(y_lowerr, ylat)

lon_high = REFORM(yhigh[0,*])
lon_low = REFORM(ylow[0,*])
cgErrPlot, lon, lon_high, lon_low, COLOR='blu5',Thick=thick

; Draw the error bars in the signal X
xhigh = map -> Inverse(xlon, x_higherr)
xlow = map -> Inverse(xlon, x_lowerr)
lat_high = REFORM(xhigh[0,*])
lat_low = REFORM(xlow[0,*])
cgErrPlot, lat, lat_high, lat_low, COLOR='blu5',Thick=thick, /Horizontal


Thanks in advance.
[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
Previous Topic: Error Bars Using Coyote Graphics
Next Topic: object graphics, exploding axis text, how to fix by explicitly setting char_dimens?

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

Current Time: Thu Oct 09 04:19:53 PDT 2025

Total time taken to generate the page: 1.36049 seconds