Warren Weckesser, on 2011-08-01 09:49, wrote:
> There are a couple examples here:
>
> http://stackoverflow.com/questions/5656798/python-matplotlib-is-there-a-way-to-make-a-discontinuous-axis
I was going to say:
Damn those stackoverflow cool kids, reinventing the wheel when we
already have
Hi All,
Something I use a lot in Matlab is probing points from a plot, basically
clicking to select the nearest point and show a tooltip with the x and y
values. I didn't manage to reproduce this exactly with matplotlib, but I
found the code from the link below which is close enough to what I need
I am writing gtk2 application on python, I need to plot a chart in
separate window and i just use this code
def matplot_print(self, print_values):
"""\brief print data by matplotlib and shw the figure
\param print_values [(name - is a string, [(datetime, value)]
- is a list of
Hy all,
I recently had a pretty hard time trying to figure out how to properly
autoscale a plot after removing a line (see attached script). Finally
I found at [1] that I have to explicitly refresh the axes dataLim
before autoscaling.
In [1] John Hunter says that computing the proper dataLim can
On Fri, Jul 29, 2011 at 4:51 PM, Mátyás János wrote:
> Dear users,
>
> I would like to draw lines with fixed pixel thickness, for example 1,
> 2, or 3 pixels, which remains 1 pixel, even if I zoom in and out the
> graph in my interactive application. How can I do this with matplotlib?
>
> I tried
This is a bug in that matplotlib is not reading the preferred encoding
correctly, because doing so has undesired side effects in some cases.
An easy workaround is to add the following to the top of your script
(before importing matplotlib):
import locale
locale.setlocale(locale.LC_ALL, '')
No
On Thu, Jul 28, 2011 at 5:41 AM, denoise wrote:
>
> Hi there,
>
> i'd like to plot a data series with signal values over timestamps, what
> works perfectly. But if I want to display 2 series with different time
> domains, theres a gap in between.
> For example my first set of data is from time (x)
Hi there,
i'd like to plot a data series with signal values over timestamps, what
works perfectly. But if I want to display 2 series with different time
domains, theres a gap in between.
For example my first set of data is from time (x) 1-3 and the second from
7-8. If I send the mixed array to th
Dear users,
I would like to draw lines with fixed pixel thickness, for example 1,
2, or 3 pixels, which remains 1 pixel, even if I zoom in and out the
graph in my interactive application. How can I do this with matplotlib?
I tried to set linewidth to 1 on creating LineCollection, but this
creates