Re: Setting tick mark spacing [message #12141] |
Wed, 01 July 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
John Tamaresis (szgiannh@catbert.ucdavis.edu) writes:
> Is it possible to control the spacing of tick marks in PV-WAVE? I am
> creating a contour plot with the boundaries of the object drawn in the
> plot window. However, the object boundaries (two concentric hemispheres)
> are not to a 1:1 scale because of the different tick mark spacing on the
> x and y axes.
I don't know about PV-WAVE, but I learned not too long ago on
this newsgroup (much to my chagrin, after advising that it
*couldn't* be done) that you can do this in IDL with the
[XY]TickV and [XY]Ticks keywords. Here is a simple contouring
example:
x = [0.0, 0.8, 1.5, 2.0, 3.5, 3.7, 5.8, 6.5, 7.2, 8.8, 10.0]
y = Findgen(11)
data = Dist(11)
Contour, data, x, y, XTickV=x, XTicks=10
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|