>2009/10/1 ringobelingo :
> I would like to add coastlines to a map but do not want interior
> 'coastlines'. At present, without them my continents are not distinct enough
> from the data I am plotting in the background. But, when I draw them using
> drawcoastlines(), I also get e.g. the great lake
Phillip M. Feldman wrote:
> Hello Eric-
>
> When I look at http://matplotlib.sourceforge.net/api/colors_api.html,
> the documentation for LinearSegmentedColormap indicates that there is a
> parameter called "N" but does not specify what this parameter does.
> Thanks for clarifying this. I wil
Hello Eric-
When I look at http://matplotlib.sourceforge.net/api/colors_api.html,
the documentation for LinearSegmentedColormap indicates that there is a
parameter called "N" but does not specify what this parameter does.
Thanks for clarifying this. I will submit a patch to the documentation.
Jason Sewall wrote:
> On Sun, Oct 4, 2009 at 11:45 PM, Eric Firing wrote:
>> Use the Axes.set_aspect() method for full control of the aspect ratio, and
>> of what gets changed to preserve that aspect ratio.
>
> Thanks, that works great! Any ideas about Arc's effect on the 'tight' bounds?
Sorry,
On Sun, Oct 4, 2009 at 11:45 PM, Eric Firing wrote:
> Use the Axes.set_aspect() method for full control of the aspect ratio, and
> of what gets changed to preserve that aspect ratio.
Thanks, that works great! Any ideas about Arc's effect on the 'tight' bounds?
---
Jason Sewall wrote:
> While I'm at it, I might as well as about image dimensions vs. axes limits.
>
> If I change ax.axis('equal') manually to the correct bounding box of
> the visible stuff (i.e. ax.axis([1.25, 5, 0, 6])), I then get an image
> that is distorted, presumably to fit some pre-set a
On Sun, Oct 4, 2009 at 10:57 PM, Jae-Joon Lee wrote:
> MPL, by default, does not do any clipping. So, i'm not sure why the
> extent of the circle matters (I think even the bbox_inches option does
> not take care of that) . Everything should be fine as far as you
> create a figure in an appropriate
use "extent" argument.
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.imshow
-JJ
On Fri, Oct 2, 2009 at 7:21 PM, shamster wrote:
>
> My current plot takes data to construct a 2d histogram. In gnuplot i would
> accomplish this by using splot, dgrid3d, and pulling in a '
MPL, by default, does not do any clipping. So, i'm not sure why the
extent of the circle matters (I think even the bbox_inches option does
not take care of that) . Everything should be fine as far as you
create a figure in an appropriate size. Changing the suplotplot
parameters (or something simila
Ryan May wrote:
> On Sun, Oct 4, 2009 at 4:21 PM, Robert Kern wrote:
>> On 2009-10-04 15:27 PM, Christopher Barker wrote:
>>> Václav Šmilauer wrote:
>>>
about a year ago I developed for my own purposes a routine for averaging
irregularly-sampled data using gaussian average.
>>> is this s
On Sun, Oct 4, 2009 at 4:21 PM, Robert Kern wrote:
> On 2009-10-04 15:27 PM, Christopher Barker wrote:
>> Václav Šmilauer wrote:
>>
>>> about a year ago I developed for my own purposes a routine for averaging
>>> irregularly-sampled data using gaussian average.
>>
>> is this similar to Kernel Dens
Václav Šmilauer wrote:
> Hi,
>
> about a year ago I developed for my own purposes a routine for averaging
> irregularly-sampled data using gaussian average. I would like to
> contribute it to matplotlib, after a clean-up, if there is interest.
This sounds like a nice thing to have, but I am wonde
I'm drawing a figure for inclusion into a LaTeX document, and I'm
having trouble getting matplotlib to export a .pdf that 'tightly'
encapsulates the drawing that is generated - I get a lot of whitespace
at the bottom, in particular.
After some experimentation, I've found that the culprit is an Arc
Dr. Phillip M. Feldman wrote:
> The attached script creates a colormap containing five colors. At the end of
> the script, I print the value of cmap.N, and it is 256 rather than 5.
>
> http://www.nabble.com/file/p25740788/bugdemo.py bugdemo.py
No, it is not a bug. You never told LinearSegmented
On 2009-10-04 15:27 PM, Christopher Barker wrote:
> Václav Šmilauer wrote:
>
>> about a year ago I developed for my own purposes a routine for averaging
>> irregularly-sampled data using gaussian average.
>
> is this similar to Kernel Density estimation?
>
> http://www.scipy.org/doc/api_docs/SciPy.
Václav Šmilauer wrote:
> about a year ago I developed for my own purposes a routine for averaging
> irregularly-sampled data using gaussian average.
is this similar to Kernel Density estimation?
http://www.scipy.org/doc/api_docs/SciPy.stats.kde.gaussian_kde.html
In any case, it sounds more like
The attached script creates a colormap containing five colors. At the end of
the script, I print the value of cmap.N, and it is 256 rather than 5.
http://www.nabble.com/file/p25740788/bugdemo.py bugdemo.py
--
View this message in context:
http://www.nabble.com/possible-bug-in-LinearSegmentedCo
Hello,
Are there any opinions how to make this legend picking work after a zoom or
pan event? There is no way to bring the cursor into its beginning shape and
therefore non of the clicking works as expected.
On Sun, Oct 4, 2009 at 9:37 AM, Peter Butterworth wrote:
> Hi,
>
> I am a bit surprised
Hi,
about a year ago I developed for my own purposes a routine for averaging
irregularly-sampled data using gaussian average. I would like to
contribute it to matplotlib, after a clean-up, if there is interest.
First it stores all data points in a (regular) grid. One can ask for
value at arbitrar
Hi,
I am a bit surprised that a line that isn't visible remains pickable
by default :
# toggle line visibility:
vis = not line.get_visible()
line.set_visible(vis)
# by default a line would remain pickable even if not visible :
if vis : line.set_picker(5)
Hi,
I am trying to plot a graph and color nodes in a loop. So far, the
for-loop I am using can color them. But, I am able to color them using a
single color. I want to color the nodes differently for each iteration of
the for-loop. How do I do that?
My code so far:
=
My current plot takes data to construct a 2d histogram. In gnuplot i would
accomplish this by using splot, dgrid3d, and pulling in a 'matrix' data
file. The code below has produced nearly what I need. However, the axes
limits are set based on the indices of the incoming data (i.e. the number of
ro
Hi,
I would like to add coastlines to a map but do not want interior
'coastlines'. At present, without them my continents are not distinct enough
from the data I am plotting in the background. But, when I draw them using
drawcoastlines(), I also get e.g. the great lakes showing up, and this just
How do I draw two 3D surface plots where the surface patch colors have
consistent meaning?
Hope this makes sense ...
Currently, I'm just doing two plot_surface commands, each of which has
cmap=cm.jet. The two surfaces have different shapes and sizes and have
different highest/lowest points. It se
How do I draw two 3D surface plots where the surface patch colors have
consistent meaning?
Currently, I'm just doing two plot_surface commands, each of which has
cmap=cm.jet. The two surfaces have different shapes and sizes and have
different highest/lowest points. I seems that the colormap is au
How do I draw two 3D surface plots where the surface patch colors have
consistent meaning?
Hope this makes sense ...
Currently, I'm just doing two plot_surface commands, each of which has
cmap=cm.jet. The two surfaces have different shapes and sizes and have
different highest/lowest points. It se
Hello,
I wrote the following scripts and expected that the y-axis of the figure
changed after each calculation.
But it did't work(the plot stayed at the very first state)
Can somebody help me fix this?
Thanks!
import numpy
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
Ok, but there's a class called map color, I think it goes that way. But I
didn't find a way to create map colors with hexadecimal values, only with r,
g, b dicts from 0 to 1.0. I didn't get it.
I also didn't find how to apply this map colors to a pie patch.
On Sat, Oct 3, 2009 at 10:28 PM, Jae-Joo
28 matches
Mail list logo