Thanks for your reply, Giorgio. I had a look at the documentation for pcolor
but unfortunately, I can't pick out where I have gone wrong. I have attached
my data array as a txt file. In ipython, I use the 'loadtxt' command to load
the dataset and then assigned the variables x,y, and z to the
Hi all,
I have been using contourf quite happily with a square number of grid
points. e.g. a 20 by 20 grid. I recently decided to do a contourf plot of a
20 by 15 grid (300 points) and I get errors. Unfortunately, I am plotting
experimental data so I cannot really tailor the grid size. Here is
Hi there,
I think I made a mistake with putting in a tuple in my first email, but here
is the error output from the contourf that I call within a script. I use
this script before with a square grid and there is no problem. Anyway, after
your email, I played with the script again and I think I have
Hi all,
I am having a problem having both a vspan and a legend in a figure plotted
on a semilog axis. A simple code that gives the following error is shown in
red:
ERROR
return self.frozen().__array__()
File /usr/lib/pymodules/python2.6/matplotlib/transforms.py, line 1051,
in __array__
Hi there,
I too want a log scale on the colorbar for an imshow plot. I have tried the
solution proposed by Jae-Joon but I cannot get the ticklabels to show. I
have tried to dynamically change the matplotlibrc settings in ipython using
mpl.rc('text',usetex=True) - where mpl = matplotlib. When I run
Hi All,
Thanks a bunch for your help!
Eric: your suggestion works brilliantly ( I didn't use the interpolation
kwarg though because I like the 'smudged' look). Paul: thanks for your
suggestions but I get errors when trying to execute *
cbar.set_ticks(np.linspace(300,350,6))*. The c.bar.set_ticks