Info

This question is closed. Reopen it to edit or answer.

Contours using datafile which has discrete values of information

1 view (last 30 days)
I have a data file that is of the form :
#X Y Z
100 100 -0.0523107830000000
100 105 -0.0463832140000000
100 110 -0.0410692230000000
100 115 -0.0362843800000000
100 120 -0.0319587560000000
100 125 -0.0280339640000000
100 130 -0.0244608950000000
And it goes on. I wish to plot a contour plot with X and Y as the axis. My problem is that the Z matrix that goes into contour(X,Y,Z) will remain a diagonal matrix, as I don't have values of Z for all X,Y pair that will fill up matrix Z. How do I make sure that my contour plot is still correct, and that the zero values at X,Y pairs, where I don't have the value of Z is not counted in making the contour plot ?

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!