On May 3, 2016 3:04 AM, "Katie Tuite" <katuit...@gmail.com <mailto:katuit...@gmail.com>> wrote:
>
> So the question is:
>
> "a contour plot is a graphic representation of the relationships among three numeric variables in two dimensions. Two variables are for X and Y axes, and a third variable Z is for contour levels. The contour levels are plotted as curves; the area between curves can be color coded to indicate interpolated values.
>
> A color gradient specifies a range of position-dependent colors, usually used to fill a region.
>
> The class file holds data for a 1000x1000 matrix, each element is a floating point number and has a value between -1 and 1. Plot each point of the matrix using Python to a grid and assign a red to yellow color gradient to the plot where -1 is red and 1 is yellow."

There are two problems to be solved here. One is Computing the gradient, the other is displaying the graph. Do you understand the concept of a color gradient? Do you know how to compute it? Have you been given any tools (programs) for displaying graphs?
Once we have that information we can take the next steps.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to