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

Home » Public Forums » archive » Re: Bar plots in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Bar plots in IDL [message #72432] Mon, 13 September 2010 01:19
Peter Clinch is currently offline  Peter Clinch
Messages: 98
Registered: April 1996
Member
lorenzo wrote:

> I am making some bar plots using the bar_plot IDL routine, but I have
> found that there is little control over the axes data range as well as
> the size of the tick marks, for example.

There's a pile of keywords for BARPLOT that you can add either on
initialisation or subsequently, check the online Help for the BARPLOT
routine.

For example,

b = barplot(data)

(and up pops a barplot with the defaults)

b.xrange = [-1.0, 1.0] ; change the x axis range from -1 to 1
b.yticklen = 0.1 ; double the y axis default tick length

Pete.
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ENVI trying to open files from USGS/EROS
Next Topic: to remove fringe pattern from spectra data

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

Current Time: Sat Oct 11 07:41:46 PDT 2025

Total time taken to generate the page: 0.40118 seconds