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

Home » Public Forums » archive » Re: Setting tick mark spacing
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: Setting tick mark spacing [message #12141] Wed, 01 July 1998 00:00
davidf is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: problem with corrupted pix-maps
Next Topic: Setting tick mark spacing

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

Current Time: Thu Oct 09 22:31:50 PDT 2025

Total time taken to generate the page: 0.79776 seconds