-
Hi, Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If two variables have the same domain you can plot them on the same axes by nesting lists, e.g. sim.plot([["Negative electrode current density [A.m-2]", "Negative electrolyte current density [A.m-2]"]]) You can pass sim.plot([["Negative electrode current density [A.m-2]", "Negative electrolyte current density [A.m-2]"]], spatial_unit="mm") If you want to create custom plots you can always access the underlying arrays by accessing the solution as a dict and doing |
Beta Was this translation helpful? Give feedback.
If two variables have the same domain you can plot them on the same axes by nesting lists, e.g.
You can pass
spatial_unit
to the plot to change the units, e.g.If you want to create custom plots you can always access the underlying arrays by accessing the solution as a dict and doing
.entries
, e.g.sim.solution["Negative electrode potential [V]"].entries
. This will return an array that you can use to create your own plots however you like.