Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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.
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.
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