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 #44660] Fri, 08 July 2005 05:53 Go to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
liko2@o2.pl wrote:
> IT WORKS! :) But.... :P When the first bar >0 it isnt proprly
> drawn...Why?

Glad it works for you. Try adapting the program to include the padding I
mentioned earlier in the thread - that will sort out the first and last
bars. psym=10 only works in the plot range (ie. between the data
points). You want to extend that range to include the edges of the first
and last bars (which are an extrapolation, which is why you do the padding).

You'll also run into problems if you ever have -ve data, but I'll let
you work that one out:)

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: Fri Oct 10 14:53:04 PDT 2025

Total time taken to generate the page: 1.91780 seconds