Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

2D plotting error - This value must be a scalar

Status
Not open for further replies.

andrewpowell121

Mechanical
Mar 24, 2014
2
I am trying to plot a graph in MathCad which shows how an equation changes with a variable function. When I put in the 2 fields the required functions, the message returns "value must be a scalar".

I have seen this has cropped up on countless times (and apologies that this is a repeated question), however I cannot understand why this is not working. Hopefully someone with a little more experience than me understands why.

I've attached the link for this below.

Thanks
Andrew
 
Replies continue below

Recommended for you

Second , in your range variable L should be .. from typing ;.
 
i.e., your definition of L should be entered as L:0.5m,1m;100m, resulting in L:=0.5m,1.0m..100m

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529
 
Ah yes, the only thing I did not check in the equations!

Thanks stevenal
 
You should also get rid of the fix limits on the abscissa and divide in the plot by the desired units.
Using a range variable you will not get rid of the connection (which looks like Mathcad is plotting the asymptote at 3.44m). You may also use the quickplot feature, which normally would give you less control, though.
 
 http://files.engineering.com/getfile.aspx?folder=7f3031bc-8c05-4b84-a335-6089e075574a&file=Example_Case_b.xmcdz
Status
Not open for further replies.

Part and Inventory Search

Sponsor