[Thread Prev][Thread Next][Index]

Re: [ferret_users] tickmark



Hi Baris,
   Generally along the lines suggested by Paul, you might use the "label" command with a suitable "mark" from one of the math fonts.
  For example for a chart I happened to have on my screen the command

label 139.65 `($PPL$YMIN)` 0 0 0.2 @p2@ma63

added a red arrow just inside the lower x-axis.

And if I had a set of "k" x-locations defined with
 let xloc=zsequence({139.65,140.125,140.666})
then
rep/k=1:3 (label `xloc` `($PPL$YMIN)` 0 0 0.2 @p2@ma63 ; label `xloc` `($PPL$YMIN)+0.05` 0 0 0.2 @p2@sr`xloc`)

would draw the arrows with the value printed above.  The vertical offset for the printed value was for suited to the plot I had on the screen and you would need to change that.  The  0.2 for the height of the arrow mark and the printed value is in inches.  Other math "marks" such as @im20 or @sm21 produce simple vertical lines rather than arrows.

Marks INSIDE the upper x-axis are a little more tricky
rep/k=1:3 (label `xloc` `($PPL$YMAX)-0.03` 0 0 0.2 @p2@ma61)
as you need to tailor the offset to your vertical scale but outside is a bit easier.

Good luck,
Mick



On Wed, Aug 13, 2014 at 10:38 AM, Ansley Manke <ansley.b.manke@xxxxxxxx> wrote:
Hi,
I don't think there's any way for ppl commands to do this. The plot axes are drawn with tic marks and labels that are likely to be "nice" for most purposes but specific customizations like this will need to be done by hand using something like what Paul suggests.

-Ansley

On 8/13/2014 1:52 AM, baris onol wrote:
Hi there,
How can I put the tickmarks for irregular increment along the x-axis or
y-axis?
I would like to put tickmarks for points like {31,62,180,221}  over the
xaxis.
I've already tried ppl options but I couldn't make it.

Thanks

Baris



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement