INTELLIGENT WORK FORUMS FOR ENGINEERING PROFESSIONALS
Come Join Us!
Are you an Engineering professional? Join EngTips now!
 Talk With Other Members
 Be Notified Of Responses
To Your Posts
 Keyword Search
 OneClick Access To Your
Favorite Forums
 Automated Signatures
On Your Posts
 Best Of All, It's Free!
*EngTips's functionality depends on members receiving email. By joining you are opting in to receive email.
Posting Guidelines
Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Show value on 'marker' in an XY Plot not the variable name

Lukaz (Mechanical) (OP) 
14 Nov 08 7:30 
Hello,
is it possible to show the value of a variable on the markers of an XY 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 Netherlands 

IRstuff (Aerospace) 
14 Nov 08 13:51 

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?
Regards,
L van Rijsewijk Netherlands 

IRstuff (Aerospace) 
17 Nov 08 10:20 

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. 

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. TTFN
FAQ731376: EngTips.com 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? 



