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 wrote: > Ritayan Mitra wrote: > > Hello > >I am trying to use imshow as below > > > > im = imshow(Z, in

Re: [Matplotlib-users] multiple plots in 1 figure

2009-05-19 Thread Abhinav Verma
you can use - from pylab import plotfile, show plotfile("filename", (0,1,2,3,4,5,6)) # for a 7 column data show() -- cheers, Abhi On Tue, May 19, 2009 at 12:54 PM, wrote: > > Dear matplotLib Users, > > Could you help me with plotting the columns of a matrix vs it's in

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

2009-01-25 Thread Abhinav Verma
Firing 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

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

2009-01-25 Thread Abhinav Verma
stupid me.. I found the solution which is to use figure parametrs.. rcParams['figure.figsize'] = (6,6) or something like that.. well now I extend my question , i.e., how to make sure that my axis labels are not truncated due to this? On Mon, Jan 26, 2009 at 8:21 AM, Abhinav V

[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 squ

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 PROT

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

[Matplotlib-users] matshow and origin

2008-01-30 Thread Abhinav Verma
I am new to matplotlib and I am really impressed. I have a problem though. I am not able to get a lower origin in matshow, imshow gives the origin at bottom when I say origin='lower' for example #!/usr/bin/env python from matplotlib.pylab import * matshow(rand(64,64),fignum=100,cmap=cm.gray,orig