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

Home » Public Forums » archive » Same color: graph and errorbars
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
Same color: graph and errorbars [message #30403] Thu, 25 April 2002 23:13
Thomas Ohde is currently offline  Thomas Ohde
Messages: 10
Registered: November 2000
Junior Member
I want plot a graph with errorbars where the graph has the same color like
the errorbars.

Example:

x=[1,2,3]
y=[1,2,3]
error = [0.1,0.2,0.1]

loadct, 39
plot,x,y,xrange[0,4], yrange[0,4], color=0, background = 255
errplot,x,y+error,y-error

Now the graph is black and the errorbars are white, but they should be
black.
In ERRPLOT it is not allowed to use the KEYWORD color = 0 (black).

Thomas Ohde
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: PPM image from IDLgrBuffer: top-bottom order
Next Topic: books about idl

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

Current Time: Wed Oct 08 17:36:59 PDT 2025

Total time taken to generate the page: 0.00485 seconds