Re: Marker rotation

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri Sep 07 2012 - 11:29:21 MDT

Hi Kyle,
I was going to mention the same thing. But I do understand that it would be useful to be able to rotate existing markers using the resource mechanism. I will create a ticket for this.
  -dave

On Sep 7, 2012, at 10:53 AM, Kyle Griffin wrote:

> For the record, Alan Brammer has pointed out that the low-level function NhlNewMarker will allow for the rotation of markers created from text strings, such as using lower case 'u' on font 34 (see: http://www.ncl.ucar.edu/Document/Graphics/Images/font34.png).
>
> While it's not a perfect solution as the font tables don't contain the best arrowheads (although there are other pretty good substitutes), it is probably the best workaround for those who wish to pursue some of the plotting techniques I mentioned in my original post. It would still be nice to see a somewhat simpler implementation of this feature in a future release, if possible.
>
>
> Kyle
> ----------------------------------------
> Kyle S. Griffin
> Department of Atmospheric and Oceanic Sciences
> University of Wisconsin - Madison
> 1225 W Dayton St, Madison, WI 53706
> Room 1421 Email: ksgriffin2@wisc.edu
>
>
>
> On Fri, Sep 7, 2012 at 11:14 AM, Kyle Griffin <ksgriffin2@wisc.edu> wrote:
> Although this has been discussed some recently with the Southern Hemisphere TC symbol, it does not appear that there is a way to rotate any of the default markers. I realize a number of them are axisymmetric and wouldn't benefit from the inclusion of this resource, but others (like the arrows) would allow some additional, useful applications. An interface similar to that for text, utilizing a resource akin to gsTextAngleF, would seem possible based around the defined location of the marker (I would think preferably the center). Is this something that could possibly be added?
>
> My application in mind is to plot arrowheads on the end of lines, such as in the case of annotations, streamlines, or trajectories. It does not appear to be currently possible via line or marker resources, and the only possible workaround is to use text and a few of the arrows provided in font 35, for example, rotated and shifted to align with the correct end of the line. In reality, the amount of effort to calculate the correct justification shift for each figure is prohibitive compared to the amount of time it takes to add these features in another program after the fact (e.g. PowerPoint or Illustrator). Thanks for the consideration,
>
>
> Kyle
> ----------------------------------------
> Kyle S. Griffin
> Department of Atmospheric and Oceanic Sciences
> University of Wisconsin - Madison
> 1225 W Dayton St, Madison, WI 53706
> Room 1421 Email: ksgriffin2@wisc.edu
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 7 11:29:30 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT