Re: Bar plots in IDL [message #72432] |
Mon, 13 September 2010 01:19 |
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/
|
|
|