Re: BAR_PLOT restricted to 60 element ARRAY?? [message #44686 is a reply to message #44683] |
Thu, 07 July 2005 02:26   |
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
|
|
|