Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • 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!

*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.


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

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


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

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

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

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

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.

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

Make an array of the points plotted and use the max function to find the largest value in the array.

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

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

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

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?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

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!


White Paper: Agile Product Engineering and Improved Product Outcomes
Today’s product development cycle is fraught with difficulties. Increased demands for complex functionality and reduced product development windows cause engineering teams to borrow practices from the IT industry, swapping outdated serial workflows for a more flexible and collaborative design method known as Agile Product Engineering. Download Now

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