Re: problem using polymarkers

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue Jul 20 2010 - 09:20:36 MDT

Hi Juliane,
I think you can set gres@gsFont to the appropriate font table, and you
should be good to go:
http://www.ncl.ucar.edu/Document/Graphics/Resources/gs.shtml#gsFont
I can't test this at the moment, so if that doesn't fix your problem let
the group know...
Adam

> Hello NCL-people,
>
> I have a problem using polymarkers. They get displayed where I want them
> but the wrong marker (symbol) gets displayed. I have tried both using the
> pre-defined markers e.g.
> gres@gsMarkerIndex = 14 ; new_indexes(1)
>
> and creating my own. e.g.
> mstrings = (/"Z","x"/)
> fontnums = (/37,1/)
> xoffset = 0.0
> yoffset = (/0.075,0.0/)
> ratio = (/1.3125,1.0/)
> sizes = (/1.5,1.4/)
> angle = 0.0
>
> new_indexes = NhlNewMarker(wks, mstrings, fontnums, xoffset, yoffset,
> ratio, sizes, angle)
>
> I think the problem has to do with the font tables. All font tables that I
> want to use lie under the NCARG_ROOT, but it seems like just the default
> font table is being recognised.
> Does anyone know how to sort out this problem?
> I am using ncl-5.1.1.
>
> Thanks a lot in advance
> Juliane
>
>
>
>
>
> _______________________________________________
> 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 Tue Jul 20 09:20:43 2010

This archive was generated by hypermail 2.1.8 : Wed Jul 28 2010 - 10:42:06 MDT