On Wed, 13 Jun 2018 12:53:57 -0400, C W wrote:
> Hi everyone,
>
> I'm curious what data types pyplot takes. It seems that it can take numpy
> series, pandas series, and possibly pandas dataframe? How many people data
> types are out there? Is that true for all functions
Hi everyone,
I'm curious what data types pyplot takes. It seems that it can take numpy
series, pandas series, and possibly pandas dataframe? How many people data
types are out there? Is that true for all functions in like hist(), bar(),
line(), etc?
Is there an official documentation that
Às 09:17 de 10-01-2018, Thomas Jollans escreveu:
On 2018-01-10 05:22, Paulo da Silva wrote:
Hi all.
...
It's a bit hard to tell without a working example, but I think you'll
want to set a tick locator, e.g. something like
ax0.xaxis.set_major_locator(matplotlib.ticker.MultipleLocator(1))
B
On 2018-01-10 05:22, Paulo da Silva wrote:
> Hi all.
>
> I want to have dates as major ticks labels of X axis.
> This fragment of code works fine except that I need more dates to appear
> instead the 6 I am getting. The number of dates in dtsd is for ex. 262.
>
> Thanks for any help.
>
> BTW, I
Hi all.
I want to have dates as major ticks labels of X axis.
This fragment of code works fine except that I need more dates to appear
instead the 6 I am getting. The number of dates in dtsd is for ex. 262.
Thanks for any help.
BTW, I got most of this code from some site on the internet.
...
t; drop-down menu. when I click the "Add oval" drop-down menu, a pop
up window with entry boxes will display.Enter the x & y location (for example
50 &150 and click the send button, the oval should display inside of the left
side pyplot. The code below works fine with tkinter wind
On Saturday, August 4, 2012 8:11:44 AM UTC-5, William R. Wing (Bill Wing) wrote:
> On Aug 3, 2012, at 11:12 PM, Eric wrote:
>
>
>
> > I'm just starting to futz around with matplotlib and I tried to run this
>
> > example from the matplotlib doc page (it's the imshow() example):
>
> >
>
> >
On Aug 3, 2012, at 11:12 PM, Eric wrote:
> I'm just starting to futz around with matplotlib and I tried to run this
> example from the matplotlib doc page (it's the imshow() example):
>
> import numpy as np
> import matplotlib.cm as cm
> import matplotlib.mlab as mlab
> import matplotlib.pyplot
I'm just starting to futz around with matplotlib and I tried to run this
example from the matplotlib doc page (it's the imshow() example):
import numpy as np
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
delta = 0.025
x = y = np.arange(-3.0, 3.0, delta)
Does anyone know how to get support for tiff/pbm in pyplot on
Ubuntu (11.04)?
This used to work for me, on some system, but when I attempt
to regenerate my TIFF files on a new system, it all crashes.
The error message is clear; TIFF and PBM are not supported, and
the exception occurs in a call
"eryksun ()" writes:
> figure(fig1.number)
> plot(...)
that's already much better than figure(1);...;figure(2);...
> Alternatively, you can use the plot methods of a particular axes:
>
> fig1 = figure()
> ax1 = axes()
> fig2 = figure()
> ax2 = axes()
>
> ax1.plot(...
On Monday, March 28, 2011 12:04:02 PM UTC-4, Giacomo Boffi wrote:
>
> >>> f1=figure(1)
> >>> f2=figure(2)
> >>> f1
>
> >>> f2
>
> >>> plot(sin(linspace(0,10)),figure=f1)
> []
> >>> plot(cos(linspace(0,10)),figure=f2)
> []
> >>> show()
You can set the current figure to fig1 with the following:
Blockheads Oi Oi writes:
> I don't know why but this works fine.
> f1=figure(1)
> plot(sin(linspace(0,10)),figure=f1)
> f2=figure(2)
> plot(cos(linspace(0,10)),figure=f2)
> show()
it works as well (with a proper t...)
plot(sin(t);figure(2);plot(cos(t));show()
because that's the way it is advis
On 28/03/2011 17:04, Giacomo Boffi wrote:
i executed the following interactions and i remained disappointed
$ python
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
from pylab import *
f1=figure(1)
f2=
i executed the following interactions and i remained disappointed
$ python
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
>>> f1=figure(1)
>>> f2=figure(2)
>>> f1
>>> f2
>>> pl
I was able to figure this out on my own. First, to eliminate the
masked arrays, I used a combination of the where and compress
functions to remove any missing data from my 1-D arrays. Then, I used
the griddata function as described above. This did the trick.
--
http://mail.python.org/mailman/li
On Aug 26, 1:52 am, Dennis Lee Bieber wrote:
> On Wed, 25 Aug 2010 14:57:33 -0700 (PDT), becky_s
> declaimed the following in gmane.comp.python.general:
>
>
>
> > px,py = p(mesolon, mesolat)
>
> For my elucidation, what does that p(x,y) actually do?
> Especially
> as you appear to
On Aug 25, 4:57 pm, becky_s wrote:
> All,
>
> I’m having a problem with the matplotlib.pyplot.contourf function. I
> have a 1-D array of latitudes (mesolat), a 1-D array of longitudes
> (mesolon), and a 1-D array of rainfall values (rain) at those
> corresponding lat, lon points. After importing
All,
I’m having a problem with the matplotlib.pyplot.contourf function. I
have a 1-D array of latitudes (mesolat), a 1-D array of longitudes
(mesolon), and a 1-D array of rainfall values (rain) at those
corresponding lat, lon points. After importing the necessary
libraries, and reading in these
On 2009-07-30 04:02, Kaan AKŞİT wrote:
I am a newbee in Python. I have some problem with usage of Pyplot. I
have a loop that creates plot in every end of it. Problem starts here:
The first plot is fine but the second one is plotted onto the first
plot. I use:
plt.cla()
plt.draw()
plt.hold(False
ing,adc0)
plt.plot(timing,adc1)
plt.plot(timing,adc3)
plt.show()
plt.clf()
plt.cla()
plt.close()
30 Temmuz 2009 11:02 tarihinde Kaan AKŞİT yazdı:
> I am a newbee in Python. I have some problem with usage of Pyplot. I h
I am a newbee in Python. I have some problem with usage of Pyplot. I have a
loop that creates plot in every end of it. Problem starts here: The first
plot is fine but the second one is plotted onto the first plot. I use:
plt.cla()
plt.draw()
plt.hold(False)
plt.close()
plt.clf()
but nothing
Hi ,
I need Pyplot module ,
How to get and install ( plug in with my python 2.4 distribution ) !!!
TIA.
Shah.
--
http://mail.python.org/mailman/listinfo/python-list
My mistake, I understood plot (as in "from wx.lib.plot import *" that comes
with wxwidgets and which does have a demo)
Sorry,
Philippe
Robert wrote:
> Philippe C. Martin wrote:
>
>> I think wxWidget comes with a sample
>>
>> Philippe
> Yes I use it,
Philippe C. Martin wrote:
> I think wxWidget comes with a sample
>
> Philippe
Yes I use it, but there is not a sample with pyplot.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
I think wxWidget comes with a sample
Philippe
Robert wrote:
> Maebe, does anyone have some examples with wxPython and pyplot?
>
> Thanks again,
> Robert
--
http://mail.python.org/mailman/listinfo/python-list
Maebe, does anyone have some examples with wxPython and pyplot?
Thanks again,
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Hellow!
I'm writing program with wxpython and pyplot.
I need to put a graph (example):
def _draw1Objects():
# 100 points sin function, plotted as green circles
data1 = 2.*Numeric.pi*Numeric.arange(200)/200.
data1.shape = (100, 2)
data1[:,1] = Numeric.sin(
28 matches
Mail list logo