Re: [Matplotlib-users] Color Map

2009-07-20 Thread Abhinav Verma
and if you look at the cookbook .. you can see all the available colormaps.. http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps have fun On Mon, Jul 20, 2009 at 8:25 PM, Eric Firing efir...@hawaii.edu wrote: Ritayan Mitra wrote: Hello I am trying to use imshow as below im =

[Matplotlib-users] using savefig to save plot in desired size

2009-01-25 Thread Abhinav Verma
Hello, It may be a very basic question, but I could not find the solution in archives or the documentation. I need to make a line plot (in square aspect ratio) and then save the figure which is also square in size, i.e. like 600x600 pixels and not 800x600. How can I acheive this? to get the

Re: [Matplotlib-users] using savefig to save plot in desired size

2009-01-25 Thread Abhinav Verma
Firing efir...@hawaii.edu wrote: Abhinav Verma wrote: Hello, It may be a very basic question, but I could not find the solution in archives or the documentation. I need to make a line plot (in square aspect ratio) and then save the figure which is also square in size, i.e. like 600x600

Re: [Matplotlib-users] Creating an oceanographic profile with matplotlib

2008-06-13 Thread Abhinav Verma
or more appropriately you might need this from pylab import * setp(gca(), 'xticklabels', []) subplot(111) ax=twiny() y = [1, 2, 3, 4] x = [5, 4, 2, 2] plot(x, y, 'ro-') ylim(5,0) xlim(1,6) ax.xaxis.tick_top() xlabel('Y') ylabel('X') show() On Fri, Jun 13, 2008 at 10:24 AM, Oz Nahum [EMAIL

Re: [Matplotlib-users] Labels for ticks on the colorbar?

2008-05-20 Thread Abhinav Verma
Hi, I need the same, and I did not understood the example. I have an imageplot with imshow and in the colorbar in donot wish to have values but text strings. can someone give me a small example to work on. thanks, On Sat, Mar 1, 2008 at 8:44 PM, John Hunter [EMAIL PROTECTED] wrote: On Sat,