Re: [Matplotlib-users] plot() and imshow() relationship

2015-06-16 Thread Amit Saha
On Sat, May 30, 2015 at 1:50 AM, Paul Hobson wrote: > imshow is for displaying arrays as images/rasters. > > plot is for showing data/functions as points and lines. > > See the gallery for imshow: > http://matplotlib.org/gallery.html#images_contours_and_fields Thanks Paul. I have since then have

[Matplotlib-users] plot() and imshow() relationship

2015-05-29 Thread Amit Saha
fferently. Is there a way to relate them? Also asked on StackOverflow: http://stackoverflow.com/questions/30527811/plot-and-imshow-relationship Thanks, Amit. --

Re: [Matplotlib-users] imshow() and pixel intensity

2015-05-18 Thread Amit Saha
Got my answer here: http://stackoverflow.com/questions/30301986/matplotlib-imshow-and-pixel-intensity On Sun, May 17, 2015 at 10:02 PM, Amit Saha wrote: > Hi all, > > Just trying to understand how the value of the matrix fed to imshow() > function determines the intensity of the p

[Matplotlib-users] imshow() and pixel intensity

2015-05-17 Thread Amit Saha
27;, cmap=cm.Greys_r) plt.show() The pixel_data here is the 3*3 "matrix": [[7, 4, 6], [7, 7, 6], [4, 7, 9]] How does the values here determine what shade of grey I see in the image? Thank you in advance. Best, Amit. -- http://echorand.me

Re: [Matplotlib-users] Newbie Q re: Lorenz attractor

2015-03-08 Thread Amit Saha
on.py That might give you a starting point of what you are trying to do. > > Also, as it is being drawn, I want to be able to > rotate the screen in 3 dimensions. Sorry, nothing much I can add here. Best, Amit. -- http://echorand.me ---

Re: [Matplotlib-users] Histogram appearance

2014-12-15 Thread Amit Saha
2-2.6 gets > incremented, but the bin 0.6-2.2 never does. Thanks. That helps me in my understanding. Choosing bins = 6 fixes the problem I reported. Best, Amit. -- Download BIRT iHub F-Type - The Free Enterprise-Grade B

Re: [Matplotlib-users] Histogram appearance

2014-12-03 Thread Amit Saha
On Thu, Dec 4, 2014 at 6:45 AM, Brendan Barnwell wrote: > On 2014-12-03 12:39, Amit Saha wrote: >> >> Hi, >> >> Please find attached a simple histogram created using the hist() >> function. Any idea why the last two bars are squeezed into each other? >>

[Matplotlib-users] Histogram appearance

2014-12-03 Thread Amit Saha
Hi, Please find attached a simple histogram created using the hist() function. Any idea why the last two bars are squeezed into each other? Is there a simple way to fix this while plotting? Thanks, Amit. -- Download BIRT

[Matplotlib-users] Axis default limits with a Circle patch

2014-11-11 Thread Amit Saha
. So, I would like to learn why? PS: I know I can just do plt.axis('scaled') so that I can see the entire circle. I also asked this on SO, so feel free to answer there as well: http://stackoverflow.com/questions/26824696/matplotlib-axis-default-limits-with-a-circle-patch Thanks, -Amit.

[Matplotlib-users] colorbar() ticklabel color

2010-11-29 Thread Amit Finkler
ing another line to this loop: t.set_color('white') On one hand, there is no error message during parsing or compilation. On the other hand, nothing actually changes, i.e. the color of the ticklabels and ticks stays black. How does one change this property? Amit ---

Re: [Matplotlib-users] question about stacked histograms

2009-06-03 Thread Amit
at least doable since I can figure it out from the actual data. best, amit shrestha John Hunter wrote: On Tue, Jun 2, 2009 at 3:15 PM, Amit wrote: Hi all, Has any of you had any luck with creating stacked histograms using matplotlib? It seems to work but I have no idea how to label (or add

[Matplotlib-users] question about stacked histograms

2009-06-02 Thread Amit
e_numbers_three = (900,100,500,600,800,500) pyplot.hist((page_numbers_one,page_numbers_two,page_numbers_three),histtype='barstacked',bins=5) pyplot.show() best, amit shrestha -- OpenSolaris 2009.06 is a cutting edge operating system fo

Re: [Matplotlib-users] Labels in a dynamic graph

2008-03-25 Thread Amit Finkler
John Hunter wrote: > On Sun, Mar 23, 2008 at 3:54 AM, Amit Finkler <[EMAIL PROTECTED]> wrote: > > >> I am using matplotlib to dynamically plot a graph with both my x and y >> points taken from a measurement device. That is to say, in each iteration of >&