On 5/16/2014 7:51 AM, 不坏阿峰 wrote:
> how to use matplotlib to drew chart like this ?
> http://www.advsofteng.com/doc/cdpydoc/images/concentric.png
Not an answer to your question:
http://www.businessinsider.com/pie-charts-are-the-worst-2013-6
fwiw,
Alan Isaac
On 5/1/2014 6:47 AM, Björn Opitz wrote:
> How would you create a figure as in
> "fig = plt.figure()", but without pyplot?
http://econpy.googlecode.com/svn/trunk/software4econ.xhtml#mpl-hints
hth,
Alan Isaac
--
"Accelera
Suppose each data point is only 1 point (1/72 ") in diameter.
A solid line across a 20" page is less than 1500 points.
You're using a fraction of a page per graph and trying to
plot 5,000-15,000 points per graph. This is pointless (pun
intended) for visual display, especially since you do not
care
The documentation for FuncAnimation says
http://matplotlib.org/api/animation_api.html#matplotlib.animation.FuncAnimation
Makes an animation by repeatedly calling a function func,
passing in (optional) arguments in fargs.
frames can be a generator, an iterable, or a number of frames
On 2/3/2014 1:36 AM, Eric Firing wrote:
> The default of not including the
> head in the length is puzzling, to say the least.
And again, it does not match the behavior of Arrow.
So perhaps the current behavior could be changed?
(E.g., after a period of requiring `length_includes_head`,
which I'l
Last question about this for now ...
Yet another issue with `arrow`: the
docs say a dashed linestyle is supported
http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.arrow
but really it is not: the *edge* is dashed rather than the tail!
Maybe I'm missing the intended usage here. But
I'm
On 2/2/2014 11:13 PM, Alan G Isaac wrote:
> A follow-on question: the `arrow` method of an axes
> has `length_includes_head` default to False. Why?
> This seems very unfriendly behavior for an "arrow".
> It also conflicts with the behavior of an `Arrow`.
One more f
A follow-on question: the `arrow` method of an axes
has `length_includes_head` default to False. Why?
This seems very unfriendly behavior for an "arrow".
It also conflicts with the behavior of an `Arrow`.
Thanks,
Alan Isaac
---
I just want to draw a few vectors of different colors.
In Mathematica I would use Arrow:
http://reference.wolfram.com/mathematica/ref/Arrow.html
In Matplotlib I cannot find an easy way. Here's the best
I came up with so far.
import matplotlib.pyplot as plt
from matplotlib.patches import Arrow
fi
On 11/18/2013 3:31 PM, Bradley Coleman wrote:
> when I add and change a DPI
> argument to savefig(), it just blows up the dimensions of the PNG
This is how I understand things, but I'm just a user.
Matplotlib interprets ``dpi`` as ``pixels per inch``.
PNG is a (compressed) bitmap format, so it m
See the discussion of pixel size at
http://wiki.scipy.org/Cookbook/Matplotlib/AdjustingImageSize
Alan Isaac
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB
loc="right" seems the same (?) as loc="center right",
but loc="left" fails. (Matches the docs, but is surprising.)
Alan Isaac
(Mpl version 1.2.0)
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
I just installed matplotlib-1.3.0.win32-py2.7.exe from
http://matplotlib.org/downloads.html
and I now get the old error:
ImportError: matplotlib requires dateutil
Is this a policy change? The installation instructions at
http://matplotlib.org/users/installing.html
still say "Windows users o
On 3/11/2013 1:59 PM, Neal Becker wrote:
> I go through a compute loop that takes maybe a few seconds per pass, then
> plot a new point on the graph.
If you are willing to use TkAgg, see the TSPlot class here:
https://econpy.googlecode.com/svn-history/r175/trunk/abm/gridworld/gridworld.py
Alan I
On 1/31/2013 12:55 PM, Benjamin Root wrote:
> I was submitting an article to an IEEE journal once. IEEE's submission
> process for images gives back fairly useful error messages, and it told me
> that my images (that I generated from matplotlib) needed to be in CMYK
> format. I had access to Ad
On 1/16/2013 4:39 AM, Kelson Zawack wrote:
> I want to create a matplotlib figure as part of a program I am writing
> and therefore would like to create the figure in a fully object oriented
> way, ie not in the pyplot state-full way.
Perhaps you will find it useful to look at the TSPlot class at
On 12/18/2012 9:40 AM, Michael Droettboom wrote:
> Is this in reference to issue #1603? Are you advocating changing the
> solution?
My only point was that the ongoing conversation should
not accept uncritically the assertion that r<0 is senseless.
Thus I cited one example of the common accepta
http://en.wikipedia.org/wiki/Polar_coordinate_system#Uniqueness_of_polar_coordinates
fwiw,
Alan Isaac
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and prov
On 8/29/2012 10:32 PM, Fernando Perez wrote:
> http://numfocus.org/johnhunter
My thanks to NumFOCUS for setting up this
memorial fund so that Matplotlib users
can say thank you to John.
Alan Isaac
--
Live Security Vir
This is essentially a query about why certain histogram types
are not offered. I can see two possible answers: haven't gotten
to them, or, don't want to offer them (e.g., they're bad practice).
I will choose Stata as a point of comparison.
http://www.stata.com/help.cgi?hist
The types are density,
On 6/21/2012 10:24 PM, Tony Yu wrote:
> Here's an example based off the horizontal bar charts in the gallery.
Pretty good, really!
More than just a starting point.
Thanks,
Alan
--
Live Security Virtual Conference
Exclu
I never thought it would happen, but the
Matplotlib Gallery has for once failed me:
http://matplotlib.sourceforge.net/gallery.html
I was looking for an example of creating a nice
tornado chart:
http://code.enthought.com/projects/chaco/docs/html/user_manual/tutorial_1.html
http://www.tushar-mehta.c
On 3/13/2012 1:59 PM, gsal wrote:
> It does come up for me.
You are probably looking at ``subplot``
rather than ``subplots``, which is missing.
Alan Isaac
--
Keep Your Developer Skills Current with LearnDevNow!
The most
On 3/13/2012 1:59 PM, gsal wrote:
> It does come up for me.
You are probably looking at ``subplot``
rather than ``subplots``.
Alan Isaac
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive onl
Just noticed that ``subplots`` documentation is missing from
the homepage http://matplotlib.sourceforge.net/index.html
I assume this is an oversight, so I'm reporting it.
fwiw,
Alan Isaac
--
Keep Your Developer Skills Cur
On 1/15/2012 12:42 PM, Eric Firing wrote:
> Importing from pdf or eps would be
> very difficult. Few applications even attempt it.
That said, PostScript drawing on top of an EPS is naturally
quite possible. See e.g. PyX for a pure Python approach.
http://pyx.sourceforge.net/manual/epsfile.html
On 8/31/2011 8:08 PM, Jae-Joon Lee wrote:
> Can you file an github issue for this?
https://github.com/matplotlib/matplotlib/issues/448
Thanks!
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class
On 8/31/2011 5:48 PM, Alan G Isaac wrote:
> How can I change font properties of a legend title?
Related question: would it be a reasonable suggestion for
Legend.set_title to take a ``prop`` argument?
Alan Is
How can I change font properties of a legend title?
Thanks,
Alan Isaac
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a
On 8/4/2011 8:26 AM, Xavier Gnata wrote:
> I think the main question is : How do you produce a arbitrary long
> list of colors to use it as a color gradient (as input to
> set_color_cycle )?
See this thread
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg21569.html
for an ap
On 7/30/2011 12:03 AM, Alan G Isaac wrote:
> I'd like to pick the color for each line
> based on its parameter value by mapping
> possible parameter values to the colors
> in a color map (e.g., gist_rainbow),
> retrieving colors one at a time (based
> on the parameter value
I have many lines to plot.
Each line has an associated parameter value.
I'd like to pick the color for each line
based on its parameter value by mapping
possible parameter values to the colors
in a color map (e.g., gist_rainbow),
retrieving colors one at a time (based
on the parameter value for a l
On 5/27/2011 12:28 PM, Amy Zhang wrote:
> I've created the following chart using matplotlib.pyplot.plot(). However, I
> would like to see the data points as bars from the bottom of the graph up to
> the points
Matplotlib supports stem plots:
http://matplotlib.sourceforge.net/api/pyplot_api.html#
> On 5/6/2011 7:57 AM, Vikram K wrote:
>> I wish to draw a Venn diagram depicting five events and
>> their intersections.
On 5/6/2011 8:07 AM, Alan G Isaac wrote:
> Can't be done:
> http://www.brynmawr.edu/math/people/anmyers/PAPERS/Venn.pdf
More precisely: it c
On 5/6/2011 7:57 AM, Vikram K wrote:
>
> I wish to draw a Venn diagram depicting five events and their intersections.
Can't be done:
http://www.brynmawr.edu/math/people/anmyers/PAPERS/Venn.pdf
hth,
Alan Isaac
--
WhatsU
On 5/3/2011 2:37 PM, Pau wrote:
> I am afraid that I know the answer to the question: use python
>
> But my problem is that I do not really know python.
Fortunately, the documentation is excellent:
http://docs.python.org/library/glob.html
hth,
Alan Isaac
What is the status of tick setting in Axes3D?
I see there were some issues possibly to be fixed by 1.0.1,
but I'm running 1.0.1 and cannot properly set my ticks.
Thanks,
Alan Isaac
--
Xperia(TM) PLAY
It's a major breakthr
If you look at the 3d scatter plot example in the tutorial
http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html#scatter-plots
you will see exactly the labels problem I am running into.
Can it be fixed? At a minimum, what is the right way to prevent the labels from
overlapping the t
On 3/15/2011 8:51 AM, Michael Droettboom wrote:
> It has no way of deducing the file format from the file object.
Inspect f.name?
Alan Isaac
--
Colocation vs. Managed Hosting
A question and answer guide to determining t
Am I overlooking tick format support for ``format``?
http://docs.python.org/library/functions.html#format
If not, might it be added?
Ordinarily I'd use FormatStrFormatter, but this time
I wanted percentages, so I had to (?) use FuncFormatter.
This was both surprising (because ``format`` is core
P
On 2/22/2011 7:47 AM, Waléria Antunes David wrote:
> I tried what Ben said: ax.set_ylim(bottom=1) ..., but changed nothing.
Put it last, *after* all plotting.
And since you won't be able to see your green line,
don't plot it.
--
Can anyone share a colormap that goes from bright yellow to
dark blue via green, along the lines of the middle 2/3 of
gist_rainbow?
http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps
Thanks,
Alan Isaac
--
The ultimat
You could use econpy's step_pts function:
http://code.google.com/p/econpy/source/browse/trunk/pytrix/pytrix.py
fwiw,
Alan Isaac
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory
On 1/3/2011 11:41 AM, Keld Lundgaard wrote:
> I have found that the pdf/eps backend make my plots in a too low resolution
> (meaning do not uses enough points in the vector description).
"path.simplify" must be set to True in your matplotlibrc?
Alan Isaac
-
On 12/17/2010 6:28 PM, Christoph Gohlke wrote:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
Wow!
That's quite an offering.
Alan Isaac
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connec
On 12/17/2010 12:24 AM, Robert Field wrote:
> imagemagick/graphicsmagick aren't able to do the work. I've found something
> else to use in the meantime.
It would not be off topic to share your solution with the list.
Alan Isaac
--
On 11/26/2010 8:12 AM, Benoist Laurent wrote:
> How can I manage the annotation of points forming a circle if I have
> their coordinates?
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.annotate
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.text
On 10/25/2010 9:23 AM, Stan West wrote:
> markerline.set_zorder(stemlines[0].get_zorder() + 0.1)
Thanks.
Now I can easily get what I want.
But back to the underlying question:
do people really prefer the stems to overlay the markers?
I.e., are the ``stem`` defaults possibly incorrect?
Thanks,
On 11/2/2010 10:06 AM, Benjamin Root wrote:
> I have personally seen significant progress in this area, but there are a few
> backends that aren't quite right (MacOSX backend, I believe?).
I believe multiple uses of ``show`` fail and are expected to fail
for the foreseeable future when using IDL
On 10/27/2010 9:56 PM, Ryan May wrote:
> # Make the y-axis label and tick labels match the line color.
> ax1.set_ylabel('exp', color='b')
> for tl in ax1.get_yticklabels():
> tl.set_color('b')
>
Thanks. This is cool, but I think I find the colored tick
labels visually distracting. Isn't a
On 10/27/2010 8:21 PM, Paul Ivanov wrote:
>def onelegend_twinaxes(axis,twin):
>#make a joint axis legend
>lines = twin.get_lines()
>lines.extend(axis.get_lines())
>labels = [l.get_label() for l in lines]
>return axis.legend(lines, labels)
That works.
>
On 10/27/2010 9:56 PM, Ryan May wrote:
> Any idea how the clipped figure problem
> was solved in the past?
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg18632.html
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg18537.html
fwiw,
Alan
---
Here is another example of unwanted text clipping
in the gallery:
http://matplotlib.sourceforge.net/examples/api/two_scales.html#api-two-scales
(Both y axis labels are clipped.)
I also think the example would be more complete if it
1. set a 270 degree rotation on the second ylabel, and
2. showed h
On 10/22/2010 12:39 PM, Stan West wrote:
> markerline.set_zorder(markerline.get_zorder() + 0.1)
Nice idea.
Thanks,
Alan
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps
On 10/15/2010 9:40 AM, John Hunter wrote:
> http://carlfk.blip.tv/file/2557425
>
> The dolphins story [...] starts around 39:30
Good story.
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and
ax.stem(x, y, '-.') draws the stem second,
so that it is visible on top of the dot.
Is this intentional?
(I think it looks better with the dot on top.)
How to reverse?
Alan Isaac
--
Download new Adobe(R) Flash(R) Builder
On 10/6/2010 1:13 PM, Waléria Antunes David wrote:
> the x-axis scale according with data errors only goes on 1.4, but I would
> like to display up to 1.5. how I do that?
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.xlim
> I also want to increase the space between 0.0
On 9/27/2010 9:10 AM, Piter_ wrote:
> Is it possiblle in matplotlib to draw something like this?
> http://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Integral_example.svg/420px-Integral_example.svg.png
http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html
hth,
Ala
On 9/22/2010 9:45 AM, Bala subramanian wrote:
> Kindly tell me how can i site mpl.
Google is your friend:
http://www.google.com/search?q=cite+matplotlib
hth,
Alan Isaac
--
Start uncovering the many advantages of virtual
http://matplotlib.sourceforge.net/examples/pylab_examples/accented_text.html
hth,
Alan Isaac
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
acce
On 9/11/2010 3:10 PM, Oz Nahum wrote:
> my question, how to remove the axes around the colorbar, or at least changed
> the to be non-visible, still stands...
Did you resolve this?
Alan Isaac
--
Start uncovering the man
On 9/13/2010 6:46 AM, Ted Kord wrote:
> How do I increase the distance/padding between the tick labels (numbers) and
> the axis/axes?
http://matplotlib.sourceforge.net/users/customizing.html#customizing-matplotlib
(see the pad options)
hth,
Alan Isaac
--
On 9/10/2010 5:27 AM, Nils Wagner wrote:
> what is needed to save a figure when the size is given in
> pixels, i.e. 1024x772 ?
> The default is 800x600 pixels.
Did you already get an answer?
My understanding is that you set the figure size in *inches*,
and then by setting its ``dpi`` you determine
On 8/31/2010 6:30 AM, Thøger Emil Juul Thorsen wrote:
> I'm putting together a quick animation to demonstrate some physics to my
> students. I'm perfectly fine to just have it show in the default plot
> window, but by default the window is drawn quite small on my screen.
Does it not work to set f
On 7/9/2010 12:02 AM, per freem wrote:
> How can I plot the empirical CDF of an array of numbers in matplotlib
> in Python?
I recalled David Huard posted the below,
which apparently was once in the sandbox...
hth,
Alan Isaac
def empiricalcdf(data, method='Hazen'):
"""Return the empirical
You should be able to use
http://leejjoon.github.com/mpl_toolkits-gridspec/
for unequal-size plots of the type you describe.
Alan Isaac
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Give
On 6/9/2010 9:12 AM, Waléria Antunes David wrote:
> Is there a way to plot my functions in the graph so that one can to
> visualize the difference between them.
Did you try the example I posted?
Why is it not adequate?
Alan Isaac
> On Tue, Jun 8, 2010 at 1:34 PM, Gökhan Sever
wrote:
> > You might need to check your y2. You are mixing integers and floats
> > which possible have resulted with some rounding errors. I get e+30
> > when I assert the terms as floats in y2.
On 6/8/2010 1:47 PM, Waléria Antunes David wrote:
>
On 6/8/2010 11:19 AM, Waléria Antunes David wrote:
> the first function isdecrescent an the second is crescent
Decreasing and increasing over the specified range, you mean.
You won't see that when you plot them together
because they have very different scales,
so the one with the small scale wi
On 6/8/2010 11:19 AM, Waléria Antunes David wrote:
> the first function isdecrescent an the second is crescent
Decreasing and increasing over the specified range, you mean.
You won't see that when you plot them together
because they have very different scales,
so the one with the small scale wi
On 6/1/2010 7:05 PM, Howard Sun wrote:
> Sorry for the newbie question, how do you plot one x with multiple ys. In
> below data, x column is followed by 5 y columns
>
Matplotlib has excellent documentation:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plot
hth,
Ala
On 6/1/2010 9:06 AM, John Hunter wrote:
> We have uploaded a bugfix release of the matplotlib-0.99 branch.
>
For the binaries, what is the recommended NumPy version?
I assume the current release (1.4.1)?
(Also wondering, not that it's any of my business, whether the
current refactoring proje
On 5/30/2010 6:42 AM, Florian Lindner wrote:
> I want to plot a simple vector arrow with a specified starting point
and end
> point (or direction and length).
>
http://matplotlib.sourceforge.net/users/annotations_guide.html#annotating-with-arrow
http://matplotlib.sourceforge.net/users/annot
On 5/27/2010 9:54 AM, Sandy Ydnas wrote:
> it is the my point
> show() can not be used during debuging
>
> but without debug option any tools is usless
> since the main problem in coding is debuging ...
But you have never explained your need here.
You cannot start the mainloop (using ``show``)
On 5/21/2010 12:35 PM, Sandy Ydnas wrote:
> nothing from
> http://stackoverflow.com/questions/458209/is-there-a-way-to-detach-matplotlib-plots-so-that-the-computation-can-continue
>
> working on Vista for Wings IDE
What if you ditch the IDE and just run the script?
Alan Isaac
--
On 5/18/2010 9:53 AM, Nick Schurch wrote:
> Is there anyway of re-ploting the distribution generated by hist at a
> later point?
http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html
hth,
Alan Isaac
-
> http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
Here is some more detail, that I actually think
should be added to the above link.
http://stackoverflow.com/questions/458209/is-there-a-way-to-detach-matplotlib-plots-so-that-the-computation-can-continue
hth,
Alan Isaac
--
First of all, what are you trying to do?
What does "figure is created" mean.
Do you need it to be drawn on the monitor?
Why not save your figure(s) to file(s)?
Cheers,
Alan
--
On 5/17/2010 11:31 AM, Sandy Ydnas wrote:
> it gets stuck in all tested by me IDE inclusing Komodo,pythonxy
http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
hth,
Alan Isaac
--
_
On 5/14/2010 9:03 AM, Matthias Michler wrote:
> ax = fig.add_subplot(111, yscale='log')
>
> or for any other generated axes 'ax'
> ax.set_yscale('log')
>
>
Somehow I was unaware of this possibility.
Excellent!
Thanks,
Alan
What is the preferred method to do the equivalent of plot_date
with log scaling for the non-date values?
Thanks,
Alan Isaac
--
___
Matplotlib-users mailing list
Matplotlib-use
On 5/11/2010 11:57 AM, Jae-Joon Lee wrote:
>http://leejjoon.github.com/mpl_toolkits-gridspec/
Yea!
Thanks!
Alan Isaac
--
___
Matplotlib-users mailing list
Matplotlib-us
On 5/5/2010 6:53 AM, Kim Hansen wrote:
> Could anyone give a working example of an embedded, animated plot in a
> Tkinter application, where animated=True is used together with canvas
> background copying to make efficient animated plots in Tkinter
> together with other widgets?
First see the
If I rotate an axes3D instance with a zlabel
far enough so that the ticks and label "switch sides",
but so that the xlabel and ylabel remain at the bottom,
then the zlabel does not rotate 180 degrees,
as it should to look right. (If I then tilt it so
that the xlabel and the ylabel move to the top,
http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
hth,
Alan Isaac
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourcefo
http://matplotlib.sourceforge.net/api/collections_api.html#matplotlib.collections.LineCollection
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively,
On 4/11/2010 9:27 AM, Friedrich Romstedt wrote:
> I think you can use Tk via the Tkinter Python package. On linux I
> heard it's looking a bit weird, but as a starting points it's easy
> enough.
Weird how?
Will that be fixed with the new release (ttk, in Python 2.7)?
Thanks,
Alan Isaac
---
On 4/7/2010 4:09 AM, Padma TAN wrote:
> Your currently selected backend, 'agg' does not support show().
Use a different backend.
Alan Isaac
--
Download Intel® Parallel Studio Eval
Try the new software tools for yoursel
On 4/5/2010 11:19 PM, Josh Hemann wrote:
> For true sparklines, here is
> http://bitworking.org/news/Sparklines_in_data_URIs_in_Python another nice
> example in Python .
>
Thanks!
Alan
--
Download Intel® Parallel S
On 4/5/2010 5:08 PM, Josh Hemann wrote:
> Here is the new graphic.
>
> http://old.nabble.com/file/p28144782/Full5%252B8%252B2_vs_Bulk1%252B2.png
>
Nice.
You might want to see
http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR
if you have not already.
Alan Isaac
-
On 4/4/2010 3:15 AM, Enzo Michelangeli wrote:
> ion() doesn't do what I need: it just forces a draw()
> after every pyplot command allowing animated plots. Instead, I want the
> program
> to draw and show a complete plot, then pause allowing me to interact with
> its
> window (e.g., to pan, zoo
On 4/3/2010 11:19 PM, Enzo Michelangeli wrote:
> multiple show() functionality is important for many users (see
> e.g.
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg13099.html
>
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.ion
hth,
Alan Isa
On 4/1/2010 1:26 PM, Josh Hemann wrote:
> What I would like to do is overlay some
> http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR sparklines
> so in one visualization I can see
> - The correlation between two variables
> - The marginal densities of the variables
>
On 3/31/2010 10:40 PM, ericyosho wrote:
> send x and y ranges to meshgrid
>
Does this mean you have the entire grid of points?
In any case, you can get an array of your points
as np.array([(x,y,z) for (x,y),z in d.iteritems()])
fwiw,
Alan Isaac
--
To get a field plot with null clines,
I'm using the approach John illustrated here:
http://mail.scipy.org/pipermail/scipy-user/2007-October/014290.html
Is this the recommended approach these days?
Thanks,
Alan Isaac
--
D
> 2010/3/29 Alan G Isaac :
> > Can you explain this:
> > norm = colors.Normalize(vmin = -1, vmax = 1)
On 3/28/2010 10:05 PM, Friedrich Romstedt wrote:
> The normaliser takes some arbitrary value and returns a value in [0,
> 1]. Hence the name. The value \in [0, 1]
On 3/28/2010 7:19 PM, Friedrich Romstedt wrote:
> I fixed your problem
Can you explain this:
norm = colors.Normalize(vmin = -1, vmax = 1)
I take it that this scales the range for the
color bar, which is what 'luminance' must
refer to in the docs? In which case, can
we just set vmin and vmax as i
On 3/28/2010 3:04 PM, Ryan May wrote:
> it's just using indices, which run from 0 to 99. Since the limits
> are 0 to 100, bam...white space because, indeed, there is no data.
>
OK, it's obvious one you point it out.
Sorry for the typo in the example.
Now suppose I want a colorbar labelled at
Using contourf in version 0.99.1,
I'm seeing an unwanted white strip to
the top and right, adjacent to the axes.
(In fact, the strip looks just wide
enough to underlay the ticks.)
Alan Isaac
PS Simple example:
x = np.linspace(-5, 5, 100)
X, Y = np.meshgrid(x, x)
Z = np.sin(x*y[:,None])
fig = plt
1. Sorry if I miss this in the docs, but what are
the default values of rstride and cstride?
It seems these automagically limit the amount
of data used by the surface plot.
2. Also, what is the right way to set alpha for
the surface? If I use an alpha keyword for
plot_surface, I cannot seem to pu
1 - 100 of 320 matches
Mail list logo