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

Home » Public Forums » archive » Re: y axis tickmarks and box_plot
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: y axis tickmarks and box_plot [message #56248] Tue, 09 October 2007 11:17 Go to previous message
teich is currently offline  teich
Messages: 33
Registered: May 2007
Member
On Oct 9, 12:14 pm, David Fanning <n...@dfanning.com> wrote:
> te...@atmsci.msrc.sunysb.edu writes:
>> I am using the bar_plot procedure. The tickmark at y equls zero on
>> the right hand side of the plot is going through the y-axis but I want
>> it to go like all the other tick marks (toughing the y-axis extending
>> to the left and not through). I don't know how to control tick marks
>> with box plot. Can anyone help or at least tell me why this happens?
>> (it only happens sometimes depending on what I have specified for !
>> y.range
>
> Bar_Plot is just a program written without much regard for
> aesthetics. :-)
>
> Find this line in the code, on or about line 226:
>
> barsize=barwidth*winrange/nbars ;Normal. bar width
>
> And change it to this:
>
> barsize=barwidth*winrange/(nbars+1) ;Normal. bar width
>
> That should look better. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

David,

Thanks, that works well!

H
[Message index]
 
Read Message
Read Message
Previous Topic: moving to objects / IDL objects and object graphics
Next Topic: Re: Sharing program

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

Current Time: Fri Oct 10 13:15:57 PDT 2025

Total time taken to generate the page: 1.61437 seconds