plotting two array datatypes using dashboards

plotting two array datatypes using dashboards

christopher_h4
Not applicable
438 Views
3 Replies
Message 1 of 4

plotting two array datatypes using dashboards

christopher_h4
Not applicable

[ FlexSim 20.2.3 ]

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?

0 Likes
Accepted solutions (1)
439 Views
3 Replies
Replies (3)
Message 2 of 4

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

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.

39893-1622135303116.png

0 Likes
Message 3 of 4

joerg_vogel_HsH
Mentor
Mentor

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

0 Likes
Message 4 of 4

eric_m3
Not applicable

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