Re: Markers in the firt column on a stand-alone legend don't show up

From: Yongxin Zhang <yongxin.fred_at_nyahnyahspammersnyahnyah>
Date: Fri Dec 18 2009 - 09:23:45 MST

Hi Mary,

    You are right. On bluefire and on my Linux machine, my plot looked jut
fine when I viewed it using ghostscript but there was cut-off when I viewed
it using gv. So the problem is with gv on bluefire and on my Linux machine.
Thank you very much for figuring out the problem.

Yongxin

On Fri, Dec 18, 2009 at 8:37 AM, Mary Haley <haley@ucar.edu> wrote:

> Yongxin,
>
> I think this is a problem with gv on bluefire. I ran your script there, and
> the EPS file looks fine when I view it on my Mac.
>
> I couldn't get gv to work on bluefire. I tried ghostscript and it never
> came up. I think maybe my display isn't set correctly.
>
> You might try ghostscript and see if this works.
>
> --Mary
>
> On Dec 17, 2009, at 5:57 PM, Yongxin Zhang wrote:
>
> Hi Mary,
>
> This is strange since after reading your email I viewed the plot on my
> Mac laptop and indeed the markers don't appear to be cut off at all.
> However, on my Linux cluster where I made the plot, the markers are indeed
> cut off. I also copied the plot to NCAR bluefire
> (/ptmp/zhangyx/ttest/lu_modis_usgs_legend.eps) and still the markers are cut
> off when I viewed the plot using gv. I am not sure why the plot appears
> differently on different platforms. I also converted the eps file to a jpg
> file using convert command on my Linux cluster but the jpg file still has
> the cut-off problem. This is strange.
>
> Thanks,
> Yongxin
>
> On Thu, Dec 17, 2009 at 5:13 PM, Mary Haley <haley@ucar.edu> wrote:
>
>> Yongxin,
>>
>> From your code, it looks like you are producing 15 markers and 15 strings,
>> and that's
>> what I see on the plot you attached. The markers don't appear to be cut
>> off in any fashion.
>>
>> Am I missing something?
>>
>> BTW, you should consider putting a custom ".hluresfile" in your home
>> directory so you
>> can change the default "times-roman" font to "helvetica", which looks a
>> little better.
>>
>> For a sample .hluresfile, see:
>>
>> http://www.ncl.ucar.edu/Document/Graphics/hlures.shtml
>>
>>
>> --Mary
>>
>>
>> On Dec 17, 2009, at 3:34 PM, Yongxin Zhang wrote:
>>
>> I created a stand-alone legend using calls to gsn_polymarker_ndc and
>>> gsn_text_ndc following NCL example 7 (leg_7.ncl) but somehow the
>>> markers in the first column don't show up or only partly show up no
>>> matter how I tried. I attached my script and the plot in eps format to
>>> this message. Please let me know if you have any suggestions on how to
>>> fix the problem.
>>>
>>> Thanks,
>>>
>>> Yongxin<plot_lu_modis_usgs_legend.ncl><lu_modis_usgs_legend.eps>_______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>
>>
>
>
Received on Fri Dec 18 09:23:59 2009

This archive was generated by hypermail 2.1.8 : Mon Dec 21 2009 - 09:22:56 MST