#
import matplotlib.pyplot as plt
ax = plt.subplot(1,1,1)
x = [0.1, 0.3, 2.6, 3.3]
y = [25.4, 18.9, 13.5, 12.6]
ax.plot(x, y, marker="s", label='foo', linestyle="None")
#ax.plot(x, y, marker="s", label='foo')
#leg = ax.legend(numpoints=1, title='legend title')
leg =
#
import matplotlib.pyplot as plt
ax = plt.subplot(1,1,1)
ax.plot(1, 2, label='foo')
ax.legend(numpoints=0)
#
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 4044, in le
On Sunday, June 19, 2011, Lukmanul Hakim wrote:
> Hello,
>
> I would like to ask for some hints
> and help. I am currently trying to plot a "pseudo contour" over a Basemap.
> This contour is confined by borders obtained from a shapefile. I can generate
> the contour, I can retrieve the shapefile
Hello,
I would like to ask for some hints
and help. I am currently trying to plot a "pseudo contour" over a Basemap. This
contour is confined by borders obtained from a shapefile. I can generate the
contour, I can retrieve the shapefile and put them on a basemap. What I have
not been able to do
I am having trouble adding minor tick marks to an auto-scaled axis on a linear
plot. I hope someone can help.
I am drawing a plot where the X axis values are predictable, so I have the
ability to define the desired major/minor intervals for tickmarks and
gridlines. The scale of the X axis is