Okay, I am another gnuplot user trying to migrate over to matplotlib.
I like what I see, but there are a couple things that are very easy to
do in Gnuplot that I can't figure out how to do with matplotlib.
I have a file with 3 columns of data called data.txt that looks like:
0. 1.
On Tue, Apr 28, 2009 at 11:09 PM, John Hunter wrote:
> If you want the relative fontsizes in the figure window and saved figure to
> agree, pass the same "dpi" to the figure command and savefig command.
John,
I thought the font size (which is specified in points) is independent
of dpi, i.e., font
On Tue, Apr 28, 2009 at 9:52 PM, Thomas Robitaille <
thomas.robitai...@gmail.com> wrote:
> Hi,
>
> I am using the savefig method to save plots - however, I am finding
> that the font size is systematically larger in the saved images than
> in the WxAgg window. It seems that text is ~30% larger in
On Tue, Apr 28, 2009 at 10:01 PM, Thomas Robitaille <
thomas.robitai...@gmail.com> wrote:
> Hi John,
>
> Thanks for your help!
>
> I'm not sure how I should go about overriding the existing method. Say I
> have the following custom savefig():
>
> def savefig(self, evt):
>print "Hello world"
>
Hi John,
Thanks for your help!
I'm not sure how I should go about overriding the existing method. Say
I have the following custom savefig():
def savefig(self, evt):
print "Hello world"
and a figure() instance fig, how do I actually tell
fig.canvas.manager.frame.toolbar.save to actually
Thanks! I could not find any documentation relating to this, so I was
wondering whether it would be better to go with a well-documented
function such as text or figtext? What would be best to use?
Thomas
On 28 Apr 2009, at 22:27, Yong-Duk Jin wrote:
> You can use 'LABELPAD' to adjust label p
Hi,
I am using the savefig method to save plots - however, I am finding
that the font size is systematically larger in the saved images than
in the WxAgg window. It seems that text is ~30% larger in PNG and PDF
files compared to the WxAgg display (relative to the axes box size).
This can b
You can use 'LABELPAD' to adjust label position.
e.g.
import pylab
hAxes = pylab.axes()
pylab.xlabel('test')
hAxes.xaxis.LABELPAD = 0
pylab.show()
--
Yong-Duk Jin
On Tuesday 28 April 2009 14:08:50 Thomas Robitaille wrote:
> Hi,
>
> This is probably a simple question, but what is the best way to
We are pleased to announce the first public beta release of APLpy, a python
module that makes it easy to interactively produce publication-quality plots
of astronomical images in FITS format. More details are available at
http://aplpy.sourceforge.net/
>From the front page you c
On Tue, Apr 28, 2009 at 8:21 AM, Thomas Robitaille <
thomas.robitai...@gmail.com> wrote:
> Hi,
>
> I was wondering if it is possible to override the 'save' button in
> wxAgg so that once a filename has been specified in the dialog, a
> custom function is run instead of the default savefig? Maybe t
On Tue, Apr 28, 2009 at 9:51 AM, Jouni K. Seppänen wrote:
> Bala subramanian writes:
>
> > Meanwhile i would like to know. Suppose if i install the latest mpl that
> i
> > just downloaded, will it overwrite the mpl version 0.98.1 previously
> > installed with yum ? If not, when i give ipython -p
Bala subramanian writes:
> Meanwhile i would like to know. Suppose if i install the latest mpl that i
> just downloaded, will it overwrite the mpl version 0.98.1 previously
> installed with yum ? If not, when i give ipython -pylab, which version will
> be loaded, I mean which version would be my
On Tue, Apr 28, 2009 at 15:26, Bala subramanian
wrote:
> Hi,
> I think freetype is already installed in Fedora10. When i search yum as
I said freetype2 *headers*, those files needed for development, not
runtime support. Install the according packages for your distribution.
--
Sandro Tosi (aka m
Hi,
Thank you. I will install the headers and try again.
Meanwhile i would like to know. Suppose if i install the latest mpl that i
just downloaded, will it overwrite the mpl version 0.98.1 previously
installed with yum ? If not, when i give ipython -pylab, which version will
be loaded, I mean whi
Bala subramanian writes:
> I think freetype is already installed in Fedora10. When i search yum as
> follows, yum says freetype is installed already.
You probably need to install a package named freetype-devel (or
something like that) to get the freetype headers you need for compiling
matplotlib
Hi,
I think freetype is already installed in Fedora10. When i search yum as
follows, yum says freetype is installed already.
*[r...@ramana cbala]# yum info freetype*
Loaded plugins: refresh-packagekit
Installed Packages
Name : freetype
Arch : i386
Version: 2.3.7
Release: 1.fc10
Hi,
I was wondering if it is possible to override the 'save' button in
wxAgg so that once a filename has been specified in the dialog, a
custom function is run instead of the default savefig? Maybe this
would require too much hacking?
Thanks for any advice,
Thomas
On Tue, Apr 28, 2009 at 14:46, Bala subramanian
wrote:
> [r...@ramana matplotlib-0.98.5.2]# python setup.py build
> In file included from src/ft2font.cpp:1:
> src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
> src/ft2font.h:31: error: ‘FT_Int’ has not been declared
> src/ft2font.h:31: er
Hi Jouni,
Thanks for your help! Following what you suggested, I've decided to use
ax.text(0.5,-0.13,xlabel,transform
=ax.transAxes,ha='center',va='center')
Thanks,
Thomas
On 28 Apr 2009, at 01:39, Jouni K. Seppänen wrote:
> Thomas Robitaille writes:
>
>> This is probably a simple question,
Friends,
I installed matplotlib in Fedora10 using yum which installed the version
0.98.1 .I could nt upgrade matplotlib using yum.
Hence i downloaded the source and tried to install but i am getting the
following error. Kindly write me what is going wrong.
[r...@ramana matplotlib-0.98.5.2]# pytho
Hi,
I was nt running any script of my own. This warning came when i was working
on matplotlib-pyplot tutorials (simple plot and multiple line plots).
Bala
On Mon, Apr 27, 2009 at 10:42 PM, Sandro Tosi wrote:
> On Mon, Apr 27, 2009 at 15:18, Bala subramanian
> wrote:
> > Hi,
> >
> > Version in
21 matches
Mail list logo