Smart questions
Smart answers
Smart people
Join Eng-Tips Forums

Member Login

Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Show value on 'marker' in an X-Y Plot not the variable name

Lukaz (Mechanical) (OP)
14 Nov 08 7:30

is it possible to show the value of a variable on the markers of an X-Y plot?
For example if a(x)=2x, I insert a(x) on the marker indicator and I would like it top show a value of, for example 10 in case of x=5, instead of a(x).

Thanks in advance,

L van Rijsewijk
IRstuff (Aerospace)
14 Nov 08 13:51
You could turn on the trace function


FAQ731-376: Forum Policies

Lukaz (Mechanical) (OP)
17 Nov 08 4:56
I'm familiar with the trace option, but I would like to show the coordinate(s) value(s) of a point in the graph.

Do you have any other suggestion?


L van Rijsewijk
IRstuff (Aerospace)
17 Nov 08 10:20

That's exactly what Trace does?????


FAQ731-376: Forum Policies

Lukaz (Mechanical) (OP)
18 Nov 08 4:57
Trace must be used manually. I would like something automated.
My (simplified) case:

I have plotted a function f(x,a,b,c,d). By each change of a,b,c,d I do not want to find the max value in a range by myself using trace. I want the value of the coordinate which, for example, defines the max value to be plotted in the graph. This is something that can be done with with the "show markers" feature, atleast that's what I would expect, otherwise the feature is pretty redundant.But instead of showing the actual value of this coordinate it shows the function which defines this coordiante.
davidbeach (Electrical)
18 Nov 08 9:06
Make an array of the points plotted and use the max function to find the largest value in the array.
IRstuff (Aerospace)
18 Nov 08 10:26
Then you assign indices to your specific inputs and find the maxima for each index.  

There is no need to use the plot to do that at all.  Your OP leads one to think that your problem is something else.  If you have an example file, you should post it.


FAQ731-376: Forum Policies

Lukaz (Mechanical) (OP)
21 Nov 08 9:29
My question is not about finding the max value or the way to compute anything for that matter, I solely used the "max value" as an example. I'll try again...

I would like to view an x and y coordinate in a graph, thus for example: [2.33,6.91]. This coordinate is defined by a function, for example [x,f(x,a,b,c,d)]. Is it possible to show the actual values of this coordinate in a plot?

Now, if I use the "show marker" option in a plot it draws a horizontal line at "f(x,a,b,c,d)" and a vertical line at "x". But instead of showing the actual values it shows the function name (in this case f(x,a,b,c,d) & x).

So my question is; can this be done with Mathcad?

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!

Back To Forum

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close