Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
I would like to make a contour plot of function of one variable(pressure distribution in one dimension element, at fixed time moment). I wish it would look more or less, like Mathcad prime contour plot legend.
Every attempt fails with "Cannot interpolate 3-D scatter data. These points all lie in a line"
Thank you for any help.
You can't make a countour plot of a function in just 1 variable!
Are you looking for something like this?
Werner Exinger wrote:
You can't make a countour plot of a function in just 1 variable!
Are you looking for something like this?
I think he wants it with "y" constant, something like f (t, u)=p (t), with CreateMesh (f,tmin, tmax, 0,1,20,2) - replacing 20 with as many points in the t axis as are needed to give reasonable smoothness.
Stuart
I'm Mathcadless at weekends and week evenings, so can't check.
You are probably right guessing what Micheal needs.
I was thinking that he just wants to add a color legend and was trying with a function of one variable to achieve this goal.
BTW, thats the collapsed region in my sheet showing two approaches for a legend (the second being the preferred one):
Here's another thread that might be of some relevance ...
That great work of yours came into my mind but I my attempt to search for it failed so I wasn't able to reference it. Thanks.