Dear All,
i'm displaying an image (cmap = gray, interpolation = nearest: i want to
see the pixels) and i plot point (markers) on top of the image. These
markers are calculated at the subpixel level so i want to zoom in to see
whether they are placed correctly.
When zooming in i notice two things:
On 7/6/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote:
> Hi Edin,
>
> Edin Salkovic wrote:
> >>
> >> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
> >
> > Shouldn't that be:
> > r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
> >
> > or:
> >
> > '$\\sum_{n=1}^{100}$' # Escaped b
Hi Edin,
Edin Salkovic wrote:
>>
>> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> Shouldn't that be:
> r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
>
> or:
>
> '$\\sum_{n=1}^{100}$' # Escaped backslash
>
Actually the original string renders as desired. Its the sv
Hi,
Is there some convenient way to setup a frame in axes which only has the
bottom and left lines?
I've tried some workaround solution like this:
a = subplot(211)
a.set_frame_on(False)
a.hlines(ymin,xmin,xmax)
a.vlines(xmin,ymin,ymax)
Is there a more appropriate solution?
thanks,
Dejan
Edin Salkovic wrote:
> Hi kaushik,
>
> On 7/6/07, kaushik.ghose <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> When I do
>>
>> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> Shouldn't that be:
> r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
>
> or:
>
> '$\\sum_{n=1}^{100}$'
Hi kaushik,
On 7/6/07, kaushik.ghose <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I do
>
> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
Shouldn't that be:
r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
or:
'$\\sum_{n=1}^{100}$' # Escaped backslash
Does this help?
Cheers,
Jesper Larsen wrote:
> Hi matplotlib users,
>
> I am interested in making basemap plots covering only a small area. When I do
> this the meridians and parallels (and labelling of these) look strange. I
> have pasted in a simple example below showing the problem (at least on my
> computer):
>
> i
Hi!
This little prorgram (it accidentially came to my keyboard) results in a
segmentation fault:
# start
import numpy
import pylab
pulsewidth=3e-6
t_array=(numpy.arange(2048, dtype=numpy.float32)-1024)*90e-9
sinc_array=numpy.array((len(t_array),),dtype=numpy.float32)
sinc_array[:]=1e-6
sinc_array
kaushik.ghose wrote:
> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> matplotlib renders it fine, but won't save it to svg correctly - the
> summation symbol doesn't show up.
>
> Is this a configuration issue on my part, or is svg support for latex
> currently incompl
Dear All,
I am a bit puzzled at an unusual problem I am experiencing.
Fundamentally, I call a couple of functions and I plot some data.
First, I create a semilog plot using pylab.semilogx, then I make a
normal linear plot.
But, in the second case I get an error message:
Traceback (most recent call
Hi matplotlib users,
I am interested in making basemap plots covering only a small area. When I do
this the meridians and parallels (and labelling of these) look strange. I
have pasted in a simple example below showing the problem (at least on my
computer):
import pylab
from matplotlib.toolkit
11 matches
Mail list logo