Skip to content

Conversation

@StephenNneji
Copy link
Collaborator

Fixes #425

Copy link
Collaborator

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change fixes the problem.

One thing I have noticed though, is that the lines change colour on the final plot when the simplex/de run is finished. Any idea why that is?

@StephenNneji
Copy link
Collaborator Author

This change fixes the problem.

One thing I have noticed though, is that the lines change colour on the final plot when the simplex/de run is finished. Any idea why that is?

If your test script looks like the one below. Then the answer is useLivePlot replaces the data in the plot and keeps the same colour, once RAT finishes plotRefSLD plots new lines over the current plot and uses a different colour for those lines.

useLivePlot(2)
[problem,results] = RAT(problem,controls);
plotRefSLD(problem,results);

@StephenNneji StephenNneji merged commit bc65f6d into RascalSoftware:master Oct 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

useLivePlot is not updating

2 participants