How to increase accuracy in contour plot,

10 views (last 30 days)
ashitosh darekar
ashitosh darekar on 15 Sep 2016
Answered: José-Luis on 16 Sep 2016
i am getting problem in contour plot,in graph same of values like 5e-005 are not taken in account. only values upto three desimal are taken to plot graph

Answers (1)

José-Luis
José-Luis on 16 Sep 2016
Have you tried specifying the levels at which you want the contour lines to appear?
Copy/pasting from the documentation:
contour(Z,v) draws a contour plot of matrix Z with contour lines at the data values specified in the monotonically increasing vector v. To display a single contour line at a particular value, define v as a two-element vector with both elements equal to the desired contour level. For example, to draw contour lines at level k, use contour(Z,[k k]). Specifying the vector v sets the LevelListMode property to manual.

Categories

Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!