cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Dynamic Legend in Graph?

Andrewk2
2-Explorer

Dynamic Legend in Graph?

Is there a way to update a graph legend dynamically?

What I want to do is show the value of a variable in the legend. When the value of the variable changes, I want the legend to automatically update.

Using Mathcad 15.

4 REPLIES 4

Andrew Kelly wrote:

Is there a way to update a graph legend dynamically?

What I want to do is show the value of a variable in the legend. When the value of the variable changes, I want the legend to automatically update.

Using Mathcad 15.

Not in version 15 (or any predicessor.)

The tags in Prime can be entered as variables and will show a numeric value (but not the variable name.) That's as close as you can come in Mathcad.

You could embed an EXCEL component and execute the graph in EXCEL. There are ways to dynamically vary the legend in EXCEL.

RichardJ
19-Tanzanite
(To:Andrewk2)

Take a look at this worksheet. The graph title is a MS Forms 2.0 label component. You could do the same thing with a Mathsoft textbox. I used the MS Forms 2.0 label only because it has more properties I can set.

Very nice Richard.

An embedded Excel component would work too. The graph could be produced in Mathcad and the title and legend displayed in Excel.

Mike

May be the attach help you.

Announcements

Top Tags