per freem writes:
> rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
> rc('pdf', use14corefonts=True)
>
> then when i open the generated pdf in adobe illustrator i get the error:
> "The font "Helvetica-Narrow" contains a bad /BBox."
Helvetica-Narrow is not one of the pdf core font
I am developing an application in which I would like the user to be
able to click on a chart and have the application detect whether the
click has occurred over a specific piece of text. For example, I have
multiple lines on a chart with two y-axes, and I have the titles of
the series stacked up at
more information on this. if i try to use pdf.use14corefonts, like was
suggested by Jouni, as follows:
from scipy import *
import matplotlib
matplotlib.use('PDF')
from matplotlib import rc
import matplotlib.pyplot as plt
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
rc('pdf', use
Can anyone help me out? I'm trying to do the following equivalent in a
scatter3d call...
line, = ax.plot(data1, data2)
line.set_data(data3, data4)
line.axes.figure.canvas.draw()
So I'm looking to do:
ax = axes3d.Axes3D(fig)
s = ax.scatter(data1, data2, data3)
s.set_data(data2,data3,data4) <--
hi all,
I am not sure if I have helvetica installed as a TTF -- how can i install it
if i don't?
i followed the debug suggestion and here are the results. when i set the
font to arial, using:
from matplotlib import rc
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
then the rele
I think the issue here is to connect points in two different axes,
which is possible but can be a bit difficult.
In the svn version of matplotlib, there are some helper classes to
ease this job a bit.
I'm attaching the example.
I think you can also run the example with 0.98.5.3. Just download
ins
On Mon, Jun 29, 2009 at 12:12 PM, Gökhan SEVER wrote:
> On Mon, Jun 29, 2009 at 7:39 AM, Fabrice Silva
> wrote:
> > Le lundi 29 juin 2009 à 07:51 -0400, Pierre GM a écrit :
> >> Check the plotting routines in scikits.timeseries
> >> (pytseries.sourceforge.net), there's some zooming functions that
Le lundi 29 juin 2009 à 14:39 +0200, Fabrice Silva a écrit :
> I merely wanted to add a Polygon patch between the upper and the lower
> subplots, but using data coordinates from these axes.
One more precision : my intent is to draw a figure 'statically', I do
not need event handling, ie handling m
On Mon, Jun 29, 2009 at 7:39 AM, Fabrice Silva wrote:
> Le lundi 29 juin 2009 à 07:51 -0400, Pierre GM a écrit :
>> Check the plotting routines in scikits.timeseries
>> (pytseries.sourceforge.net), there's some zooming functions that could
>> get you started.
>
> Thanks to point to this scikit, but
Thanks Jae-Joon, that worked.
Adam
On Mon, Jun 29, 2009 at 9:03 AM, Jae-Joon Lee wrote:
> Yes, I can reproduce this with the current svn.
>
> I think what's happening is that, with larger number of grid, there
> is slight overlapping between each subplots (likely due to the
> floating point erro
Yes, I can reproduce this with the current svn.
I think what's happening is that, with larger number of grid, there
is slight overlapping between each subplots (likely due to the
floating point error). Note that subplot command deletes existing axes
if they overlap with the new one.
There would
Hi, I'm trying to make a large grid of subplots with no spacing between. The
following code fails for any grid size larger than 6x6 by skipping a row and
a column.
for i in xrange(1,65):
subplot(8,8,i)
plot( [0,1] )
subplots_adjust(hspace=0,wspace=0)
Is there a way around this probl
Le lundi 29 juin 2009 à 07:51 -0400, Pierre GM a écrit :
> Check the plotting routines in scikits.timeseries
> (pytseries.sourceforge.net), there's some zooming functions that could
> get you started.
Thanks to point to this scikit, but I looked into the lib.plotlib
module, and I didn't manage
Sandro Tosi wrote:
> Hello guillaume,
>
> On Mon, Jun 29, 2009 at 10:53, guillaume ranquet wrote:
>> I've been asked to transform my app to something more "dynamic"
>> it currently reads an xml file, it has now to read a stream of xml from
>> a socket (I can handle this part :D) and plot each poin
Hello guillaume,
On Mon, Jun 29, 2009 at 10:53, guillaume ranquet wrote:
> I've been asked to transform my app to something more "dynamic"
> it currently reads an xml file, it has now to read a stream of xml from
> a socket (I can handle this part :D) and plot each point as they are
> coming from
Are you certain you have Helvetica installed as a TrueType font? If you
don't, the only way to get the Postscript Helvetica is to set
"ps.useafm" to True.
Cheers,
Mike
per freem wrote:
> I just wanted to add: if i simply set the font to Arial, using
>
> rc('font',**{'family':'sans-serif','sans
Hello everybody,
I wonder whether it is possible to produce something like the zooming
plot example from http://code.enthought.com/projects/chaco/gallery.php
using only matplotlib. I've done some tests, I think transforms may be
helpful but I do not know ho to use them...
---
Hi list
I've been asked to transform my app to something more "dynamic"
it currently reads an xml file, it has now to read a stream of xml from
a socket (I can handle this part :D) and plot each point as they are
coming from the network.
I'll end up having tons of points over multiple axes; I gue
per freem writes:
> i am trying to use the Helvetica font on matplotlib. i am using mac os x (so
> i definitely have helvetica installed)
It might be in a format that matplotlib doesn't really handle. However,
Helvetica is one of the "core fonts" in PDF so if you set
pdf.use14corefonts to True,
I am pleased to announce that the Python Software Foundation is
sponsoring 10 students' travel, registration, and accommodation for
the SciPy 2009 conference (Aug. 18-23). The focus of the conference
is both on scientific libraries and tools developed with Python and on
scientific or engineering a
20 matches
Mail list logo