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
differe
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 awa
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 end
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 c
Hi everybody,
I have the problem, that I cannot add a color bar to a pcolor plot, which I
generate of some Data files. If I do
fig = plt.figure()
plot1 = fig.add_subplot(231,aspect='equal')
plot1.pcolor(xsr)
plot1.axis([0, 127, 0, 127])
plot1.colorbar()
it just gives me
AttributeError: 'AxesSub
Hi,
I have a problem when saving my plot as a png. The horizontal lines, which I
inserted via
axhline(y=0.136, xmin=0., xmax=1, color='black',ls=':')
axhline(y=0.094, xmin=0., xmax=1, color='black',ls=':')
are not displayed right in the png file. Saving in pdf works perfectly. I
enclosed the two
guess inserting 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
> wrote:
>>
>> Hi everybody,
>>
>> I want to include differe
Hi everybody,
I want to include different data into one plot using a common xaxis but two
yaxis. One of these axis should be log scaled. The problem is, that this
automatically changes the scaling (or just the ticks) of first yaxis, which
should be linear to log. I assume this is a bug, but its a
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:
http://www.
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:
http://www.nabbl
11 matches
Mail list logo