[ncl-talk] ncl-talk Digest, Vol 183, Issue 27

subash rimal jaysambho at hotmail.com
Mon Feb 18 08:47:08 MST 2019


I am suffering from a grave problem that i have tried to install pyngl using the conda as in the pngl webpage but import ngl works while import nio doesnot work what might be the problem could you please help me i am using centos7. while i run the script then error importing in nio appears i am in trouble.

Subash Rimal
Meteorologist
Met Forecasting Division
Airport

________________________________
From: ncl-talk <ncl-talk-bounces at ucar.edu> on behalf of ncl-talk-request at ucar.edu <ncl-talk-request at ucar.edu>
Sent: Monday, February 18, 2019 12:45 AM
To: ncl-talk at ucar.edu
Subject: ncl-talk Digest, Vol 183, Issue 27

Send ncl-talk mailing list submissions to
        ncl-talk at ucar.edu

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.ucar.edu/mailman/listinfo/ncl-talk
or, via email, send a message with subject or body 'help' to
        ncl-talk-request at ucar.edu

You can reach the person managing the list at
        ncl-talk-owner at ucar.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ncl-talk digest..."


Today's Topics:

   1. Placing numbers above the bars (Barry Lynn)
   2. Re: Placing numbers above the bars (Rick Brownrigg)


----------------------------------------------------------------------

Message: 1
Date: Sun, 17 Feb 2019 08:05:15 +0200
From: Barry Lynn <barry.h.lynn at gmail.com>
To: ncl-talk <ncl-talk at ucar.edu>
Subject: [ncl-talk] Placing numbers above the bars
Message-ID:
        <CAN7Bv26EXDOsUJOEtvhxDpzPfL6HZtyvfGBwmHhZ9X-8m+otMA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello:

I have a bar chart attached.

I would like to place a number (I will generate it) above the position of
the bar highest bar, centered at each labeled (x-axis) interval.

Is there a straightforward way to do this?

Thanks,

Barry

--
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190217/f7c585bb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LPI_Exceedance.png
Type: image/png
Size: 128392 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190217/f7c585bb/attachment-0001.png>

------------------------------

Message: 2
Date: Sun, 17 Feb 2019 09:16:06 -0700
From: Rick Brownrigg <brownrig at ucar.edu>
To: Barry Lynn <barry.h.lynn at gmail.com>
Cc: ncl-talk <ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] Placing numbers above the bars
Message-ID:
        <CAGKRhbH0v7XtdxCX6Mc99kpiZgVXgW6AZu8qxEQZQkxV6Ybo6g at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Barry,

You might be able to use "datatondc()" to get the NDC coordinates of the
tops of the bars, and then use gsn_text_ndc() to draw your annotation
(applying a small offset in x and/or y direction to properly position it).
The example on the datatondc() does something similar, but with markers
rather than text.

    http://ncl.ucar.edu/Document/Functions/Built-in/datatondc.shtml
    http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_text_ndc.shtml

Hope that helps...
Rick
On Sat, Feb 16, 2019 at 11:05 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hello:
>
> I have a bar chart attached.
>
> I would like to place a number (I will generate it) above the position of
> the bar highest bar, centered at each labeled (x-axis) interval.
>
> Is there a straightforward way to do this?
>
> Thanks,
>
> Barry
>
> --
> Barry H. Lynn, Ph.D
> Senior Associate Scientist, Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190217/78ca1225/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


------------------------------

End of ncl-talk Digest, Vol 183, Issue 27
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190218/705d5899/attachment.html>


More information about the ncl-talk mailing list