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
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
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
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
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
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
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:
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: