On 06/14/2012 02:39 PM, Peter Würtz wrote:
>
>
>
> Benjamin Root-2 wrote:
>>
>> On Wed, Jun 13, 2012 at 10:46 AM, Peter Würtz
>> wrote:
>>
>>> import matplotlib
>>> import pylab as p
>>>
>>> p.plot([1,2,3])
>>> p.xticks([1],["tick"])
>>> ax = p.gca()
>>> fig = p.gcf()
>>>
>>> p.draw()
>>> def print
On Thursday, June 14, 2012, Jonathan Hayward wrote:
> http://matplotlib.sourceforge.net/examples/axes_grid/scatter_hist.html
>
> This is something I'd like to be able to produce, but for millions of
> records, where the center will look like one undifferentiated mass of dark
> blue.
>
> Is there a
Benjamin Root-2 wrote:
>
> On Wed, Jun 13, 2012 at 10:46 AM, Peter Würtz
> wrote:
>
>> import matplotlib
>> import pylab as p
>>
>> p.plot([1,2,3])
>> p.xticks([1],["tick"])
>> ax = p.gca()
>> fig = p.gcf()
>>
>> p.draw()
>> def print_texts(artist):
>>for t in artist.findobj(matplotlib.tex
On Thursday, June 14, 2012, Daπid wrote:
> First, this is another topic, so please, change the subject of the
> message so it doesn't get messed up with others (and possible help
> lost in the process).
>
> Now, you are indeed plotting one dot at the time and generating a
> label for it. If you do
First, this is another topic, so please, change the subject of the
message so it doesn't get messed up with others (and possible help
lost in the process).
Now, you are indeed plotting one dot at the time and generating a
label for it. If you don't want that, you have to plot the whole list
at the
If all your values are positive (and you are sure of it), you could
use the SymmetricalLogScale It uses log scale for large values (both
positive and negative), and linear for small ones.
http://matplotlib.sourceforge.net/devel/add_new_projection.html
I believe there is a way to do it without go
2012/6/13 Mike Kaufman :
> On 6/13/12 3:23 PM, Steven Boada wrote:
>> Whoops, I forgot to change the subject. Sorry list.
>>
>> List,
>>
>> I'm making a scatter plot using a for loop. Here's a simple example..
>>
>> for i in range(10):
>> x=rand()
>> y=rand()
>> scatter(x,y,label=
On Wed, Jun 13, 2012 at 4:00 PM, Timothy Duly wrote:
> Hello,
>
> I am trying to make a simple pcolor plot with a datetime on the x-axis. I
> am able to get a time label on the x-axis fine with a regular plot command,
> but it doesn't appear to work if you use pcolor. This simple example below
List,
I'm making a scatter plot using a for loop. Here's a simple example..
for i in range(10):
x=rand()
y=rand()
scatter(x,y,label='point')
legend()
show()
When you do this, you get a legend entry for every single point. In this
case, I get 9 entries in my legend.
Is there a
Are you trying to make 9 scatter plots? In your for loop, if you are
trying to make a set of x values and a set of y values, then I think this
is wrong. Since you didn't provide import statements I don't know which
rand() function you are using. Assuming it is scipy.rand(), you will only
have on
2012/6/12 Paul Hobson :
> On Mon, Jun 11, 2012 at 11:03 PM, Justin R wrote:
> Justin, could you post a self-contained script that demonstrates the
> issue? Where does this PCA function come from?
It comes from matplotlib.mlab. Just add these imports before the OP's code:
import numpy as np
from
Hello,
I'm searching for a way to extract all text elements from a matplotlib
figure including their positions, styles, alignments etc. I first
tried to write a custom backend and to fetch all the texts from the
"draw_text()" method of the renderer. In contrast to the documentation
"draw_text()" d
On Fri, Jun 8, 2012 at 4:36 AM, Maximilian Fabricius
wrote:
> Hi all,
>
> it seems that whenever I plot something, a window opens.
>
> from matplotlib import pylab
> import numpy
> pylab.plot(numpy.random.normal(size=100))
>
> Now, I have code that is supposed to produce diagnostic plots as PDFs.
http://nfadvogados.com.br/blog/wp-content/themes/elegant-grunge/body.html--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT manager
On 6/14/12 7:52 AM, Yasin Selçuk Berber wrote:
I want to set a projection area larger than data's geographical coverage.
But data must still be georeferenced correctly inside map region
and coastlines in projection area should still be visible outside data
area.
right now, the data is always st
On Tue, Jun 12, 2012 at 11:59 AM, Paul Hobson wrote:
> On Mon, Jun 11, 2012 at 11:03 PM, Justin R wrote:
> > operating system Windows 7
> > matplotlib version : 1.1.0
> > obtained from sourceforge
> >
> > the class seems to generate the same Wt matrix for every input. The
> > every element of th
I want to set a projection area larger than data's geographical coverage.
But data must still be georeferenced correctly inside map region
and coastlines in projection area should still be visible outside data area.
right now, the data is always stretched inside whole projection area.
trying to
using axes.set_anchor will do the trick.
chao
wiswit wrote:
>
> Dear all,
>
> I think this is quite easy but I searched the internet and mailing list
> and
> not able to find an answer.
> ax2 is an inset axes within the "ax" axes in figure "fig", which I make
> following here
> http://matplot
so, I didn't notice the axes.set_anchor method. This will do the trick.
Chao
wiswit wrote:
>
> Dear all,
>
> asking question in a good way is art and I am trying to do that :-). I
> spent whole day trying to put an inset axes within another hosting axes
> the
> exact position I want.
> and f
19 matches
Mail list logo