question

Christopher H4 avatar image
0 Likes"
Christopher H4 asked Eric M commented

plotting two array datatypes using dashboards

I have some code that explicitly records previous data from simulations as an array and I was wondering if I could create a dashboard plot to plot one array of data with respect to a second array of data. The relevant data of the array corresponds to each row in every array type dataset.

The end result I'm looking for is something similar to plotting two columns in excel with one being the x-axis and the other being the y-axis data.

Is there any way to do this in FlexSim?

FlexSim 20.2.3
flexsim 20.2.3dashboard chartarrays
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Eric M avatar image Eric M commented ·

Hi @Christopher H4, was Jeanette F's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Joerg Vogel edited

Hello @Christopher H4,

The data can be plotted using a graph called Time Plot. The only thing is that you would need to figure out how to get all the data into one table. There are statistics collectors and calculated tables that can be used to compile data. I am not sure how to move an array into a table.


1622135303116.png (56.6 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

You can use a Table.query from an array to transform the array into a table. @Jeanette F

0 Likes 0 ·