If you've found this educational demo helpful, please consider supporting us on Ko-fi. The square root of x (for positive x only)Ĭontour lines can be a bit difficult to understand, so if you are having trouble, you may find the 3D surface plotter useful to help visualise the actual shape of the 3D surface. The inverse of the three trigonometric functions listed above The table below lists which functions can be entered in the expression box. To update the function that the graph is showing, enter the new function in the input box, and click "update". You can see how the contour lines equate to the colors in the key just below the graph. By default they are set to (-100,100) and 21 respectively, so this means that the displayed contour levels will start at -100 and go up to and including +100 in intervals of 20. You can change which values the contour lines should display by tweaking the "Range of contour levels" and "Number of contour levels" sliders. There's nothing special about which contour lines are displayed, it's just a matter of choice. I can have MathCAD plot associated numbers by changing the options in the format menu. This is because you are looking at part of the graph that is very steep and a small change in x or y will have a big effect on the value of z. The lack of symmetry in the contour plot is due to the way the 3D graph object rounds things. It often easier to just to your own contouring, using the 2D plot. While not quite impossible, plotting a 2D curve over a contour plot is a reas PITA. You might also notice that when you have many contour lines close together, if you go slightly off the line, the z value quickly deviates from the line's z value. Contour plots are not one of Mathcads strong points. See how the z value always stays the same. Try picking another contour line and follow it with your mouse. Under the advanced properties I can see the option choose colormap Q1: with the (default) rainbow map, is red the high value or low value (on the z axis) look high its the high value Q2: I believe (. Because along this line, z always equals zero. To all, I have created a contour plot and trying to control the scale and/or the colour scheme. So, that explains why we see a contour line along the line x = y. You should see in the sidebar that the (x,y,z) indicator displays (2,2,0). So if x = 2, and y = 2, z will equal 4 - 4 = 0. Each point also has a z value which is calculated by plugging the x and y values in to the expression shown in the box. In the demo above, every point in the graph has an x and y value. Contour lines aren't just limited to giving us info about mountains though, they can help us visualise a surface described by a mathematical function. These are known as contour lines, and every point on the line is at the same height. If you've ever looked at a map, particularly of a hilly or mountainous region, you may have noticed groups of lines like this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |