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 example, plot([1, 2, 3], [2, 3, 4], 'ro') will create a plot with
those points colored "red". Via the imshow() function, we specify the
color (or intensity) of each point and a figure is created with the
points colored accordingly. Sure, imshow() allows me to color each
point differently.

Is there a way to relate them?

Also asked on StackOverflow:
http://stackoverflow.com/questions/30527811/plot-and-imshow-relationship

Thanks,
Amit.


-- 
http://echorand.me

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to