liko2@o2.pl wrote:
> psym=10 is a histogram option for PLOT what I have mentioned about...It
> doesnt work for two or more values which are the same and come one
> after another...
>
Yes, I meant that that is an easy way to get the overall shape of the
line, then you can put in vertical lines using plots (not plot!) to draw
lines which distinguish the bars.
If you don't mind not having the bars next to each other you could also
do the padding operation I mentioned before to put a zero between each
bar - something like:
x=[1,2,3,4,5]
y=[3,4,5,5,2]
new_x=[0.5,1,1.5,2,2.5,3,3.5,4,4.5,5,5.5]
new_y=[0,3,0,4,0,5,0,5,0,5,0,2,0]
plot, new_x, new_y, psym=10, yr=[0,6]
HTH,
Ben
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Panter, Garching, Germany
email via www.benpanter.co.uk
|