Re: Outward tickmarks on plots [message #6287 is a reply to message #6267] |
Wed, 22 May 1996 00:00   |
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 |
|
|
|