Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.5K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Problem in making Contour Plot.

Why i am not getting the full plot? Means at the bottom of the plot i am not getting any color. Is there any problem in my solution or in my Mathematica software?

Attachments:
3 Replies
Posted 9 years ago

Adding the option PlotRange->All looks like it eliminates the clipping you are seeing.

POSTED BY: Bill Simpson

Your function diverges as Y goes to zero. ContourPlot apparently cuts off the high values. Compare with Plot3D:

Plot3D[c1*x*L + 
  300 + (-0.05268836893878311` + 
     0.05268836893878311` E^(-18.979521127315678` Y) + 
     1.1437436762540135`*^-8 Y)*c2, {x, 0, 01}, {Y, 0, 1}]

You can control the cutoff style with ClippingStyle. For example

ContourPlot[
 c1*x*L + 300 + (-0.05268836893878311` + 
     0.05268836893878311` E^(-18.979521127315678` Y) + 
     1.1437436762540135`*^-8 Y)*c2, {x, 0, 01}, {Y, 0, 1}, 
 ContourStyle -> None, ClippingStyle -> Automatic, 
 ColorFunction -> "Rainbow", Contours -> 60]
POSTED BY: Gianluca Gorni

Thanks for suggestion.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard