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

Home » Public Forums » archive » Re: Outward tickmarks on plots
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: Outward tickmarks on plots [message #6287 is a reply to message #6267] Wed, 22 May 1996 00:00 Go to previous messageGo to previous message
offenbrg is currently offline  offenbrg
Messages: 31
Registered: August 1993
Member
bleau@umdsp.umd.edu (Lawrence Bleau) writes:

> Does anyone know how to resolve this dilemma? I would like a grid displayed
> with the minor tickmarks outside the graph, and the TICKLEN keyword doesn't
> seem to be able to handle this combination. Any ideas?

> Btw, I tried using PLOT with a negative TICKLEN and /NODATA, then OPLOT with a
> TICKLEN of 1.0. This gave me tickmarks inside and outside as well as the grid,
> but the axis labels were written twice *in different places*. It looks ugly,
> folks. Is there any hope in this approach, or should I give it up? Thanks.

I think you're almost there....all you need to do is turn off the axis
labels. There are several ways to do this...the easiest is probably use the
[xyz]tickformat keyword to specify a null print format for the ticks.

For instance,
.run
- function tickform,axis,index,value
- return,''
- end

plot,ticklen=1,... ;real plot
plot,ticklen=-.05, xtickformat=tickform, ytickformat=tickform, noeras=1.....

Good luck!
Joel
--
"...And I am unanimous in this" - Mrs. Slocumbe
------------------------------------------------------------ ----------
| Joel D Offenberg | offenbrg@fondue.gsfc.nasa.gov |
| Hughes STX, NASA/GSFC/LASP | UIT Sci team & COBE Unix SysAdm |
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Memory allocation problem using Call_external
Next Topic: call_external for Absoft FORTRAN on the Mac

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

Current Time: Fri Oct 10 10:16:22 PDT 2025

Total time taken to generate the page: 1.19793 seconds