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

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

2015-05-29 Thread Paul Hobson
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 On Fri, May 29, 2015 at 4:12 AM, Amit Saha wrote: > Hi all, > > I am trying to understand if the

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

2015-05-29 Thread Amit Saha
Hi all, I am trying to understand if there is a way to compare how plot() and imshow() works for the case where I am not using imshow() to display an image. Via the plot() function, I am specifying the points that I want to plot and also optionally the color that i want the points to be in. For