Hi,
I have been looking around but can't find what I want.
I have two arrays, one with numbers from 0.02 to 0.20 and
the other from 0.03 to 0.50. I am trying to plot them together
with other arrays in a scatterplot where these two are the
color term
plt.scatter(x1,y1,c=myarr1,cmap=plt.get_cmap
On Mon, Oct 31, 2011 at 11:02 AM, Tommy Grav wrote:
> Hi,
>
> I have been looking around but can't find what I want.
> I have two arrays, one with numbers from 0.02 to 0.20 and
> the other from 0.03 to 0.50. I am trying to plot them together
> with other arrays in a scatterplot where these two
Try
nm = matplotlib.colors.Normalize(desired_min, desired_max)
plt.scatter(x1,y1,c=myarr1,cmap=plt.get_cmap("gist_heat"),norm=nm)
You could just use the vmin/vmax keywords in the scatter() call, but
I've just always preferred using Normalize(); you have more control
over what happens that way (s
Hi All,
I was wondering how to set custom tick labels in an mplot3D plot? I have
tried:
ax = Axes3D(figure)
ax.set_xticks(ticks,labels)
- and -
ax = Axes3D(figure)
ax.w_xaxis.set_ticks(ticks,labels)
and both options cause the plot to disappear from the viewing window.
When I don't try to set
Hi All,
I am new to matplotlib and glade and am struggling with changing cursors in a glade-3 based python application using matplotlib. I have attached the simple
application plot_in_Glade.py and plot_in_Glade.glade. I am trying to change the cursor on the plot but unfortunately no luck (gives
On Monday, October 31, 2011, Katie Boyle wrote:
> Hi All,
> I was wondering how to set custom tick labels in an mplot3D plot? I have
tried:
> ax = Axes3D(figure)
> ax.set_xticks(ticks,labels)
> - and -
> ax = Axes3D(figure)
> ax.w_xaxis.set_ticks(ticks,labels)
> and both options cause the plot to