Re: [Matplotlib-users] Wind barb plot for a single station data

2015-03-25 Thread Foehn
Sometimes the solution is embarrassing simple.
Thanks a lot, I did not get that before :)



Am 2015-03-25 um 19:50 schrieb Eric Firing:
> On 2015/03/25 7:08 AM, Foehn wrote:
>> Hello all,
>>
>> the routine barbs(x,y,u,v) in basemap plots a regular 2-dimensional
>> vector field for a geographic projection.
>>
>> What I want is a barb-routine that plots single station wind data (and
>> not fields!) at their approriate lat,lon or x,y-position like in a
>> station plot on a synoptic weather-chart. I googled and searched a
>> while, but I could not find a solution within basemap for that.
> There is no requirement that the arguments be on a grid; x, y, u, and v
> can simply be 1-D arrays with the desired locations and values.
>
> basemap's barbs is a mapping wrapper around matplotlib's Axes.barbs()
> method, so you can use either one depending on whether you want to plot
> on a map projection or on some other x,y coordinates.
>
> Eric
>
>> Can you help me?
>>
>>
>> Thanks, Foehn
>>
>> --
>> Dive into the World of Parallel Programming The Go Parallel Website, 
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub for 
>> all
>> things parallel software development, from weekly thought leadership blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Wind barb plot for a single station data

2015-03-25 Thread Eric Firing
On 2015/03/25 7:08 AM, Foehn wrote:
> Hello all,
>
> the routine barbs(x,y,u,v) in basemap plots a regular 2-dimensional
> vector field for a geographic projection.
>
> What I want is a barb-routine that plots single station wind data (and
> not fields!) at their approriate lat,lon or x,y-position like in a
> station plot on a synoptic weather-chart. I googled and searched a
> while, but I could not find a solution within basemap for that.

There is no requirement that the arguments be on a grid; x, y, u, and v 
can simply be 1-D arrays with the desired locations and values.

basemap's barbs is a mapping wrapper around matplotlib's Axes.barbs() 
method, so you can use either one depending on whether you want to plot 
on a map projection or on some other x,y coordinates.

Eric

>
> Can you help me?
>
>
> Thanks, Foehn
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-25 Thread rogerjames99
Hi,

I am trying to draw a polar plot of a sonar scan. The idea being to present
it like a radar display. I have used axisartist to do the ploar plot. This
is working fine but I would like to reset the limits of the radius axis with
each new scan. I have tried a number of ways of doing this without success.
My current code to set up the plot looks like this.



and to update the plot. Like this


I have tried doing the above on the host axes and the auxiliary one and with
different parameters to the relim etc. Nothing seems to work. Before I tried
various other calls to manipulate the extremes but with the same lack of
results. Can anyone set me straight on this? I feel I must be missing
something obvious. However I find the documentation and the class
inheritance hierarchy almost impossible to follow.

Here are a couple of links to snapshots of the output.

Before

  

After

  

Thanks,

Roger



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Help-with-updating-the-limits-of-an-axis-to-reflect-the-range-of-new-data-tp45261.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Wind barb plot for a single station data

2015-03-25 Thread Foehn
Hello all,

the routine barbs(x,y,u,v) in basemap plots a regular 2-dimensional 
vector field for a geographic projection.

What I want is a barb-routine that plots single station wind data (and 
not fields!) at their approriate lat,lon or x,y-position like in a 
station plot on a synoptic weather-chart. I googled and searched a 
while, but I could not find a solution within basemap for that.

Can you help me?


Thanks, Foehn

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Fwd: ANN: SciPy (Scientific Python) 2015 Call for Proposals & Registration Open - tutorial & talk submissions due April 1st

2015-03-25 Thread Nelle Varoquaux
Hello everyone,

(I apologize for the cross posting).
This is a quick reminder that the call for submission for Scipy 2015
is open but due April 1st! There is only 7 days left to submit a
proposal.

Thanks,
Nelle


-- Forwarded message --
From: Courtenay Godshall 
Date: 19 March 2015 at 04:46
Subject: ANN: SciPy (Scientific Python) 2015 Call for Proposals &
Registration Open - tutorial & talk submissions due April 1st
To: python-l...@python.org


**SciPy 2015 Conference (Scientific Computing with Python) Call for
Proposals: Submit Your Tutorial and Talk Ideas by April 1, 2015 at
http://scipy2015.scipy.org.**

SciPy 2015, the fourteenth annual Scientific Computing with Python
conference, will be held July 6-12, 2015 in Austin, Texas. SciPy is a
community dedicated to the advancement of scientific computing through
open source Python software for mathematics, science, and engineering.
The annual SciPy Conference brings together over 500 participants from
industry, academia, and government to showcase their latest projects,
learn from skilled users and developers, and collaborate on code
development. The full program will consist of two days of tutorials by
followed by three days of presentations, and concludes with two days
of developer sprints. More info available on the conference website at
http://scipy2015.scipy.org; you can also sign up on the website for
mailing list updates or follow @scipyconf on Twitter.

We hope you'll join us - early bird registration is open until May 15,
2015 at http://scipy2015.scipy.org/ehome/115969/259272/?&;

We encourage you to submit tutorial or talk proposals in the
categories below; please also share with others who you'd like to see
participate! Submit via the conference website @
http://scipy2015.scipy.org.

*SCIPY TUTORIAL SESSION PROPOSALS -  DEADLINE EXTENDED TO WED APRIL 1, 2015*
The SciPy experience kicks off with two days of tutorials. These
sessions provide extremely affordable access to expert training, and
consistently receive fantastic feedback from participants. We're
looking for submissions on topics from introductory to advanced -
we'll have attendees across the gamut looking to learn. Whether you
are a major contributor to a scientific Python library or an
expert-level user, this is a great opportunity to share your knowledge
and stipends are available. Submit Your Tutorial Proposal on the SciPy
2015 website: http://scipy2015.scipy.org

*SCIPY TALK AND POSTER SUBMISSIONS - DUE April 1, 2015*
SciPy 2015 will include 3 major topic tracks and 7 mini-symposia
tracks.  Submit Your Talk Proposal on the SciPy 2015 website:
http://scipy2015.scipy.org

Major topic tracks include:
- Scientific Computing in Python (General track)
- Python in Data Science
- Quantitative and Computational Social Sciences

Mini-symposia will include the applications of Python in:
- Astronomy and astrophysics
- Computational life and medical sciences
- Engineering
- Geographic information systems (GIS)
- Geophysics
- Oceanography and meteorology
- Visualization, vision and imaging

If you have any questions or comments, feel free to contact us at:
scipy-organiz...@scipy.org.
--
https://mail.python.org/mailman/listinfo/python-list

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users