mtiller / ModelicaBook

Source for my new Modelica Book
https://mbe.modelica.university
Other
95 stars 69 forks source link

Not all variables are displayed in the plots #383

Closed dietmarw closed 5 years ago

dietmarw commented 6 years ago

I noticed that some plots don't display all variables as present in the legend. It might be sometimes that they are simply on top of each other but in this case the plot style should probably be changed. Examples are:

mtiller commented 5 years ago

As far as I can tell, these are all cases where the lines overlap. I see two ways of dealing with this. the first is to simply eliminate overlapping signals. These are effectively aliases and, as such, we can reduce it down until there are no aliases. The other approach is to change the styling of the lines so that some are, for example, thin and dashed while others are fat and solid. If rendered in the right order, all should be visible.

Comments?

mtiller commented 5 years ago

I've made what I think are the necessary styling changes. Wait to see the preview before I judge whether the changes were correct.

mtiller commented 5 years ago

OK, this is fixed...somewhat. Not 100% happy with the appearance in the interactive plots, but it will do for now.