[Matplotlib-users] getting equation from a surface-fit model

2015-05-07 Thread diffracteD
Hi.
  I have a data set like following:
x = [2.06, 2.07, 2.14, 2.09, 2.2, 2.05, 1.92, 2.06, 2.11, 2.07]
y = [171.82, 170.8, 159.59, 164.28, 169.98, 162.23, 167.37, 173.81,166.66,
155.13]
z = [-1.41, -1.26, -1.07, -1.07, -1.46, -0.95, -0.08, -1.28, -1.2, -0.86]

Using matplotlib, scipy.linalg.lstsq function I've got a surface-fit model.
But is it possible to print the "equation of the surface ??"
Found no clue in documentation page.

Please help !
thank you.



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/getting-equation-from-a-surface-fit-model-tp45490.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] bug in zorder example

2015-05-07 Thread Thomas Caswell
It is doing it every where.  Also look at the tick above the 2 on the
bottom it is slightly clipped.

It is definitely seems worse on the top, which might be showing a
fence-post issue in the clipping/Agg rendering.

As the OP points out zooming in on
http://matplotlib.org/mpl_examples/pylab_examples/zorder_demo_01.pdf makes
it really obvious that this is the case everywhere.

That said, I don't think that this is a 'bug' persay.  We have to pick
_some_ zorder for the frame and 2.5 is is good as any other.  We do have a
documentation problem as I don't know where that information is other than
in the source.

Tom

On Thu, May 7, 2015 at 11:38 AM Benjamin Root  wrote:

> But, why is it doing that only along the top edge and not the other edges
> (or are my eyes that bad)?
>
> On Thu, May 7, 2015 at 11:30 AM, Thomas Caswell 
> wrote:
>
>> zorder can be negative, if you want to ensure that all of your lines are
>> always below all of the standard axis components simple decrease  the
>> zorder of the elements you want behind rather than increasing the zorder of
>> the elements you want in front.
>>
>> @ben look at the top left of
>> http://matplotlib.org/mpl_examples/pylab_examples/zorder_demo_01.hires.png
>> and compare where it looks like the red and green lines are clipped.
>>
>> Tom
>>
>> On Thu, May 7, 2015 at 11:14 AM plotter  wrote:
>>
>>> The second example on
>>> http://matplotlib.org/examples/pylab_examples/zorder_demo.html seems to
>>> expose a bug, which is clearly visible in the vector version:
>>>
>>> The blue curve with zorder=2 is plotted below the frame and all others
>>> with
>>> zorder >= 3 are plotted above the frame. This is because the frame
>>> zorder is
>>> hardcoded to be 2.5. This behaviour is certainly unexpected by most
>>> users.
>>> How can one modify the mutual zorder of lines without conflicting with
>>> standard axis elements?
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://matplotlib.1069221.n5.nabble.com/bug-in-zorder-example-tp45342.html
>>> Sent from the matplotlib - users mailing list archive at Nabble.com.
>>>
>>>
>>> --
>>> One dashboard for servers and applications across Physical-Virtual-Cloud
>>> Widest out-of-the-box monitoring support with 50+ applications
>>> Performance metrics, stats and reports that give you Actionable Insights
>>> Deep dive visibility with transaction tracing using APM Insight.
>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>> ___
>>> Matplotlib-users mailing list
>>> Matplotlib-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] bug in zorder example

2015-05-07 Thread Benjamin Root
But, why is it doing that only along the top edge and not the other edges
(or are my eyes that bad)?

On Thu, May 7, 2015 at 11:30 AM, Thomas Caswell  wrote:

> zorder can be negative, if you want to ensure that all of your lines are
> always below all of the standard axis components simple decrease  the
> zorder of the elements you want behind rather than increasing the zorder of
> the elements you want in front.
>
> @ben look at the top left of
> http://matplotlib.org/mpl_examples/pylab_examples/zorder_demo_01.hires.png
> and compare where it looks like the red and green lines are clipped.
>
> Tom
>
> On Thu, May 7, 2015 at 11:14 AM plotter  wrote:
>
>> The second example on
>> http://matplotlib.org/examples/pylab_examples/zorder_demo.html seems to
>> expose a bug, which is clearly visible in the vector version:
>>
>> The blue curve with zorder=2 is plotted below the frame and all others
>> with
>> zorder >= 3 are plotted above the frame. This is because the frame zorder
>> is
>> hardcoded to be 2.5. This behaviour is certainly unexpected by most users.
>> How can one modify the mutual zorder of lines without conflicting with
>> standard axis elements?
>>
>>
>>
>> --
>> View this message in context:
>> http://matplotlib.1069221.n5.nabble.com/bug-in-zorder-example-tp45342.html
>> Sent from the matplotlib - users mailing list archive at Nabble.com.
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> ___
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] 2D data plotted in a 3D plot by adding time flow dimension

2015-05-07 Thread Benjamin Root
Looks like nabble swallowed your code snippet. Here it is:

```

import matplotlib.pyplot as plt
import mpl_toolkits.mplot3d.axes3d as p3
import numpy.random as rnd
import numpy as np

TILL = 200 # just to have an end in the for loop

def SSI(t): #Simulated Serial Input
T = np.asarray(t)
X = np.sin(T)
Y = np.cos(T)
return X,Y,T

t = range(0,TILL/2)

plt.ion()
fig = plt.figure()
ax = p3.Axes3D(fig)
#ax = fig.gca(projection='3d') # same result as Axes3D
X,Y,T = SSI(t)
g, = ax.plot(X,Y,T) # for set_data method
#ax.plot(X,Y,T) # not using set_data method

plt.ylim([-1.5,1.5])
plt.xlim([-1.5,1.5])

for i in range(TILL):
val = rnd.random(1)
t.append(val)
t.pop(0)
X,Y,T = SSI(t)
#plt.plot(X,Y,T)
g.set_data(X,Y) #
#ax.set_zlim(i,i+100) # to make the time axis sliding
plt.draw()
#g.axes.figure.canvas.draw() # Same result as plt.draw()


```

Unfortunately, IIRC, set_data() for the 3d objects is probably not what you
want. See https://github.com/matplotlib/matplotlib/issues/1483.

Ben Root


On Sat, May 2, 2015 at 7:05 AM, arjunascagnetto 
wrote:

> hi,
>
>
> I try to make my question as clear as possible. I need to plot 2
> dimensional
> data coming from the serial onto a 3d plot with the third axes made of time
> flowing.
>
> I wrote this code (it's just one of the many tries). It's about the
> plotting
> only, not worring about buffer from serial etc etc...
>
>
>
>
> With set_data i have a static picture, with ax.plot at every for index I
> can't understand what's happening.
>
> any help would be really appreciate.
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/2D-data-plotted-in-a-3D-plot-by-adding-time-flow-dimension-tp45468.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] bug in zorder example

2015-05-07 Thread Thomas Caswell
zorder can be negative, if you want to ensure that all of your lines are
always below all of the standard axis components simple decrease  the
zorder of the elements you want behind rather than increasing the zorder of
the elements you want in front.

@ben look at the top left of
http://matplotlib.org/mpl_examples/pylab_examples/zorder_demo_01.hires.png
and compare where it looks like the red and green lines are clipped.

Tom

On Thu, May 7, 2015 at 11:14 AM plotter  wrote:

> The second example on
> http://matplotlib.org/examples/pylab_examples/zorder_demo.html seems to
> expose a bug, which is clearly visible in the vector version:
>
> The blue curve with zorder=2 is plotted below the frame and all others with
> zorder >= 3 are plotted above the frame. This is because the frame zorder
> is
> hardcoded to be 2.5. This behaviour is certainly unexpected by most users.
> How can one modify the mutual zorder of lines without conflicting with
> standard axis elements?
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/bug-in-zorder-example-tp45342.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] How to draw circles in logscale plots

2015-05-07 Thread Benjamin Root
A quick-n-dirty way would be to use markers via the scatter() function.
Just set the facecolor to 'none', and some very large markersize value.

Ben Root

On Wed, Apr 8, 2015 at 12:49 PM, LowDepth  wrote:

> Hello,
>
> how can I plot circles or other shapes in plots which have logarithmic
> axis?
> I have a grid of 3 plots and want to plot some kind of sketches in the
> lower
> right corner of
> each subplot. How should I do that?
>
> import numpy as np
> from matplotlib import pyplot as plt
> from matplotlib import gridspec
>
> fig = plt.figure(figsize=(6, 10))
> gs = gridspec.GridSpec(3, 1, height_ratios=[1.5, 1, 1])#, height_ratios=[2,
> 1, 1])
> ax0 = plt.subplot(gs[0])
> ax1 = plt.subplot(gs[1])
> ax2 = plt.subplot(gs[2])
> plt.setp(ax_new.get_yticklabels(), visible=False)
> plt.setp(ax_new.get_xticklabels(), visible=False)
> ax_new = fig.add_axes([0,0,1,1], frameon=False,aspect="equal")
> ax_new.axes.get_yaxis().set_visible(False)
> ax_new.axes.get_xaxis().set_visible(False)
> circle1=plt.Circle((0.2,0.0),0.05, color="0.8")
> circle2=plt.Circle((0.4,0.0),0.05, color="0.8")
> ax_new.add_artist(circle1)
> ax_new.add_artist(circle2)
>
> ax0.semilogx(x,x**2, "k-", linewidth=2)
> ax1.semilogx(x,x**3, "k--", linewidth=2)
> ax2.semilogx(x,np.exp(-x)+x**4, "k-.", linewidth=2)
> plt.tight_layout()
> plt.show()
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/How-to-draw-circles-in-logscale-plots-tp45367.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] bug in zorder example

2015-05-07 Thread Benjamin Root
you can always change the zorder of the frame using set_zorder(). Are you
talking about the frame of the legend or the plotting area?

On Mon, Apr 6, 2015 at 11:23 AM, plotter  wrote:

> The second example on
> http://matplotlib.org/examples/pylab_examples/zorder_demo.html seems to
> expose a bug, which is clearly visible in the vector version:
>
> The blue curve with zorder=2 is plotted below the frame and all others with
> zorder >= 3 are plotted above the frame. This is because the frame zorder
> is
> hardcoded to be 2.5. This behaviour is certainly unexpected by most users.
> How can one modify the mutual zorder of lines without conflicting with
> standard axis elements?
>
>
>
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/bug-in-zorder-example-tp45342.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Possible bug in padding between text and bounding box for PDF

2015-05-07 Thread Thomas Caswell
Sourish,

We no longer are updating the 1.3.x releases.  Can you reproduce this
problem using 1.4.3?

Tom

On Thu, May 7, 2015 at 11:14 AM Sourish Basu  wrote:

>  Hello,
>
> I have been fighting with this problem for some time. It seems that if, on
> a plot, I have some text inside a bounding box, it displays fine on the
> screen, saves OK as a PNG, but when I save the plot as a PDF the padding on
> the right side between the text and the box disappears. I have attached a
> minimal example with a text box, but this problem occurs for legends as
> well, if the legend text is long-ish. I am also attaching a PNG and a PDF
> output, as well as how the PDF shows up on my viewer. Has anyone else
> experienced this?
>
> Other relevant info:
>
> *$ uname -a*
> Linux Merlin 3.2.0-77-generic #114-Ubuntu SMP Tue Mar 10 17:26:03 UTC 2015
> x86_64 x86_64 x86_64 GNU/Linux
>
> *$ python -c 'import matplotlib; print matplotlib.__version__'*
> 1.3.1
>
> *Where I obtained matplotlib:*
> The matplotlib SourceForge site
>
> *Customisations to **matplotlibrc:*
> backend  : Qt4Agg
> lines.markersize  : 10# markersize, in points
> font.sans-serif  : Ubuntu, Calibri, Liberation Sans
> font.monospace   : Consolas, Inconsolata, Ubuntu Mono, Droid Sans Mono
> axes.color_cycle : e41a1c, 377eb8, 4daf4a, 984ea3, ff7f00, 33, a65628,
> f781bf, 99
> pdf.fonttype   : 42 # Output Type 3 (Type3) or Type 42
> (TrueType) # I have tried with fonttype=3 as well, and the bug still exists
>
> *$ python bug_test.py --verbose-helpful > output.txt*
> output.txt attached
>
> Thanks,
> Sourish
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Problem creating legend for scatter plot with NANs

2015-05-07 Thread burak1000
Hi all,

I believe I've found a bug in scatter function in matplotlib 1.4.2:


from numpy import *
import matplotlib
from matplotlib.pyplot import *

figure()
subplot(111)
h = scatter([NAN], [NAN], marker="o", facecolor="r", edgecolor="r", s=3)

legend([h], ["scatter"])

savefig("out.png")

close()


The code above fails with ValueError exception:

Traceback (most recent call last):
  File "legend.py", line 9, in 
legend([h], ["scatter"])
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/pyplot.py",
line 3381, in legend
ret = gca().legend(*args, **kwargs)
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/axes.py",
line 4778, in legend
self.legend_ = mlegend.Legend(self, handles, labels, **kwargs)
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/legend.py",
line 366, in __init__
self._init_legend_box(handles, labels)
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/legend.py",
line 630, in _init_legend_box
handlebox)
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/legend_handler.py",
line 103, in __call__
handlebox.get_transform())
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/legend_handler.py",
line 325, in create_artists
width, height, fontsize)
  File
"/usr/local/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib/legend_handler.py",
line 282, in get_sizes
size_max = max(orig_handle.get_sizes()) * legend.markerscale ** 2
ValueError: max() arg is an empty sequence


There is some more information and the source of the problem described here:

http://stackoverflow.com/questions/29743696/legends-for-scatter-plots-with-nans-in-matplotlib

Thanks,
Tomasz




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Problem-creating-legend-for-scatter-plot-with-NANs-tp45419.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] bug in zorder example

2015-05-07 Thread plotter
The second example on
http://matplotlib.org/examples/pylab_examples/zorder_demo.html seems to
expose a bug, which is clearly visible in the vector version:

The blue curve with zorder=2 is plotted below the frame and all others with
zorder >= 3 are plotted above the frame. This is because the frame zorder is
hardcoded to be 2.5. This behaviour is certainly unexpected by most users.
How can one modify the mutual zorder of lines without conflicting with
standard axis elements?



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/bug-in-zorder-example-tp45342.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] 2D data plotted in a 3D plot by adding time flow dimension

2015-05-07 Thread arjunascagnetto
hi, 


I try to make my question as clear as possible. I need to plot 2 dimensional
data coming from the serial onto a 3d plot with the third axes made of time
flowing.

I wrote this code (it's just one of the many tries). It's about the plotting
only, not worring about buffer from serial etc etc...




With set_data i have a static picture, with ax.plot at every for index I
can't understand what's happening.

any help would be really appreciate.



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/2D-data-plotted-in-a-3D-plot-by-adding-time-flow-dimension-tp45468.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] How to draw circles in logscale plots

2015-05-07 Thread LowDepth
Hello, 

how can I plot circles or other shapes in plots which have logarithmic axis? 
I have a grid of 3 plots and want to plot some kind of sketches in the lower
right corner of
each subplot. How should I do that?

import numpy as np
from matplotlib import pyplot as plt
from matplotlib import gridspec

fig = plt.figure(figsize=(6, 10)) 
gs = gridspec.GridSpec(3, 1, height_ratios=[1.5, 1, 1])#, height_ratios=[2,
1, 1])
ax0 = plt.subplot(gs[0])
ax1 = plt.subplot(gs[1])
ax2 = plt.subplot(gs[2])
plt.setp(ax_new.get_yticklabels(), visible=False)
plt.setp(ax_new.get_xticklabels(), visible=False)
ax_new = fig.add_axes([0,0,1,1], frameon=False,aspect="equal")
ax_new.axes.get_yaxis().set_visible(False)
ax_new.axes.get_xaxis().set_visible(False)
circle1=plt.Circle((0.2,0.0),0.05, color="0.8")
circle2=plt.Circle((0.4,0.0),0.05, color="0.8")
ax_new.add_artist(circle1)
ax_new.add_artist(circle2)

ax0.semilogx(x,x**2, "k-", linewidth=2)
ax1.semilogx(x,x**3, "k--", linewidth=2)
ax2.semilogx(x,np.exp(-x)+x**4, "k-.", linewidth=2)
plt.tight_layout()
plt.show()



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/How-to-draw-circles-in-logscale-plots-tp45367.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Perplexing behavior from combined use of Matplotlib and pandas

2015-05-07 Thread AKKO
Dear All,

I have made a post on Stackoverflow that has not garnered any help so far,
and I'm drawing this to your attention here because it seems like this could
be a bug:

http://stackoverflow.com/questions/29469179/potential-bug-in-either-matplotlib-or-pandas


Please look at my post, and I would greatly appreciate any help! I'm do
puzzled by that behavior!

Thank you.



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Perplexing-behavior-from-combined-use-of-Matplotlib-and-pandas-tp45345.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] SciPy 2015 Conference Updates - LAST CALL for talks - 4/10 extension, John Hunter Plotting Contest, registration open, keynotes announced,

2015-05-07 Thread Jacob73
Thanks for giving this info on  conference room   
updates. Well I hire a big hall for meeting and I always take care for
everything in meetings. Hey do you know when it will be next meeting on
financial planning? I would like to attend that.




--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/SciPy-2015-Conference-Updates-LAST-CALL-for-talks-4-10-extension-John-Hunter-Plotting-Contest-regist-tp45326p45469.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users