Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

1D Plot Color/Marker cycle

Please login with a confirmed email address before reporting spam

Hi

Is it possible to define a custom color/marker cycle for 1D plots?
Or to reset the color/marker cycle for each plot in the 1D plot group?

For example, using the predefined color tables to defined the color cycle?
I know I can do this with a Color Expression subnode, but it messes up the Color Legend.

Sometimes, with multiple plots in the same graph, the results can become confusing.

Any help in automating this process would be helpful.

Thanks :)

1 Reply Last Post Aug 28, 2017, 8:49 a.m. EDT
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Aug 28, 2017, 8:49 a.m. EDT
Updated: 7 years ago Aug 29, 2017, 2:22 a.m. EDT
In the next major release (tentatively in November), it will be possible to reset the color/line style/marker cycles for a 1D plot. This sounds like it will solve your problem at hand. It will also be possible to define what colors to cycle between, but the color cycle will still be shared between all plots in the model.
In the next major release (tentatively in November), it will be possible to reset the color/line style/marker cycles for a 1D plot. This sounds like it will solve your problem at hand. It will also be possible to define what colors to cycle between, but the color cycle will still be shared between all plots in the model.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.