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

Home » Public Forums » archive » Re: BAR_PLOT restricted to 60 element ARRAY??
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: BAR_PLOT restricted to 60 element ARRAY?? [message #44686 is a reply to message #44683] Thu, 07 July 2005 02:26 Go to previous messageGo to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
liko2@o2.pl wrote:
> Thank You, that solved the problem :)
>
> Can I set colors for this plot?
>

for the line, use the standard color= keyword for the plot statement. If
this gives you unexpected results then I would read David's website at
http://www.dfanning.com

As far as I know, to get filled bars you need to use the polyfill
procedure. In order to make the first and last "bars" full width, you
can pad the x and y arrays:

x=[1,2,3,4,5,6]
y=[2,3,4,2,4,2]

x_pad=[0,x,7]
y_pad=[0,y,0]

plot, x_pad, y_pad, xstyle=1, psym=10

HTH,

Ben

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Panter, Garching, Germany
email via www.benpanter.co.uk
[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: shading in contour plots
Next Topic: Re: Windows IDL DLM with Cygwin

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

Current Time: Sat Oct 11 08:20:20 PDT 2025

Total time taken to generate the page: 0.56066 seconds