Re: [Matplotlib-users] Output to any vector format openoffice can use

2009-12-03 Thread marcusantonius
Thak you very much for pointing this out to me. I was not aware that Inkscape is able to output to .odg. Unfortunatly export into .odg works badly. I converted .svg files, and both were rendered totally incorrect. All the axes labels vanished, in a lineplot it connected the end of the line to the

[Matplotlib-users] Output to any vector format openoffice can use

2009-12-01 Thread marcusantonius
I am searching a way, so that I can insert my matplotlib graphs as vector data in openoffice. I make colormaps using pcolorfast. If I save the figure as emf, the colormap inside the axes vanishes, because the normal emf backend cannot include rasterized data. Is there any way (e.g. using a

[Matplotlib-users] Colorbar Ticks

2009-05-25 Thread marcusantonius
Hello, I have the problem, that sometimes the first and last ticklabel of a colorbar is not drawn. E.g. if I create a colorbar through fig.colorbar(p3,orientation='horizontal',ticks=np.arange(0.0,8,2)) I only get ticklabels at 2,4,6, but I would like it to have 0,2,4,6,8 and I don't know how to

Re: [Matplotlib-users] Colorbar Ticks

2009-05-25 Thread marcusantonius
I should perhaps mention, that if i try cbar=fig.colorbar(p1,orientation='horizontal',ticks=[0.0,2.0,4.0,6.0,8.0]) cbar.ax.set_xticklabels(['0', '2', '4','6','8']) the colorbar is drawn correctly, but I get the label 0 at position 2, the label 2 at position 4 and 4 at pos. 6, the labels at the

Re: [Matplotlib-users] Colorbar Ticks

2009-05-25 Thread marcusantonius
Thank you very much for your email. Your example imshow(rand(10,10)*8, vmin=0, vmax=8) colorbar(ticks=[0,2,4,6,8]) works fine. Note also that to get the sequence [0,2,4,6,8] you need arange(0,9,2), not arange(0,8,2). Or you can use linspace(0,8,5) if you prefer. Thank you for making me aware

Re: [Matplotlib-users] Two y axis with twinx, only one of them logscale

2009-02-18 Thread marcusantonius
following line after ax2.set_yscale(log) should solve your problem. ax2.yaxis.tick_right() -JJ On Wed, Feb 18, 2009 at 11:21 AM, marcusantonius markus.hai...@student.uibk.ac.at wrote: Hi everybody, I want to include different data into one plot using a common xaxis but two yaxis. One

[Matplotlib-users] Using data column to change color of line/points

2009-01-06 Thread marcusantonius
Hi everybody, I have a set of x,y values and draw these points connected by a line. Is it possible to change the color of the points/line segments according to another parameter which is given for every point? Thank you for your help, Cheers, Marcus -- View this message in context:

[Matplotlib-users] How to plot only points which lie in a certain range

2008-10-27 Thread marcusantonius
I'm sorry for this newbie question. I have a data file consisting of 3 columns, and want to plot the first versus the second column, but only if the parameter in the third column lies in a certain range. Does somebody have an idea how to do that? -- View this message in context: