DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DIADEM REPORT - Use x channel in legend?

Is there a way to display the channels used for the x-axis in the legend? I am plotting stress strain curves and they use a common Y axis with differing X axes. An alternative would be to swap the display of the x and y axes (this would also be a useful option - quickly swap axes)

0 Kudos
Message 1 of 4
(1,688 Views)

Hi Capps,

 

Yes, it is possible to display the X channel. You can add these variables to the legend:

 

[@@CurrGroupIdx@@]/@@CurrXChnName@@

 

Walter_Rick_0-1628845552846.png

 

 

Greetings

Walter

0 Kudos
Message 2 of 4
(1,663 Views)

Hi Walter,

Thanks for the reply. That works for displaying a common x-axis variable but I am plotting several curves that use a common y-axis variable but different x-axis variables. The approach that you suggest only displays the x-variable for the last curve. Below is a screenshot showing an example of what I am trying to achieve. The only workaround that I was able to find was to keep the strains on the y axis and rotate the text in all elements 90 degrees and adjust the axis locations to get the x axis to appear as the y axis and vice versa. While this works to some degree, there are limitations. It requires some fiddling with the axes to get them to line up correctly and the plots need to be rotated 90 degrees after exporting them.

Capps_0-1628870644965.png

 

Thanks in advance for any suggestions that you may have.

Chris

 

0 Kudos
Message 3 of 4
(1,655 Views)

Hi Chris,

 

Here is another way for your request. You can define your own legend. For this we have an example called “2D Tables as Legend and Legend for Axis System Labeling”. I have modified it to show the result for your case. In the end you use the command “CurveSnippet” to create the legend symbol and read out the entries of your 2D axis system.

 

Greetings

Walter

0 Kudos
Message 4 of 4
(1,575 Views)