MArgarida Posted March 30, 2023 Share Posted March 30, 2023 Hello, within a batch, i would like to correlate two characteristics of two attributes at different time stamps. I have the capsule defining the batch, but i can not plot them (orange line with the blue dot) against each other (in the XY plot). do i need some more action to make them a pair? thanks Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted March 30, 2023 Share Posted March 30, 2023 Hi MArgarida, the XY-Plot creates a point for every timestamp that exists on the signals. As your signals do not share the same timeframe nothing is displayed on the chart. It cannot calculate a value on the blue signal when values on the orange one exist and vice versa. Also I think it will be hard to get a correlation between one value (the blue signal) and multiple values (the orange signal). I would start by creating a calculation (e.g. average) for the orange signal and move that result and the value for the blue signal on one timestamp (e.g. the start of the batch). Regards, Thorsten Link to comment Share on other sites More sharing options...
MArgarida Posted March 30, 2023 Author Share Posted March 30, 2023 thanks, what would you suggest to move them? because i defined separate capsules (within the batch capsule) to identify these values, so the beginning/end of these two capsules do not overlap Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted March 30, 2023 Share Posted March 30, 2023 If I understood you correctly you would have one value for the blue and one value for the orange signal foreach batch, right? If you have the values available inside the batch itself you could try to bring them to the batch start. In the following example I have two values at two different phases inside a batch: You can create a new signal that gets the average value for each of the signals and puts it on the batch start: Changing to XY Plot displays a value for the batch: Extending the timeframe shows values for the other batches as well: Regards, Thorsten Link to comment Share on other sites More sharing options...
MArgarida Posted April 3, 2023 Author Share Posted April 3, 2023 that seems to work indeed, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now