PyBaMM
PyBaMM copied to clipboard
Quickplot with discharge capacity as x axis
It would be nice if you could make a QuickPlot
with discharge capacity as the x-axis instead of time. This would make it easier to compare solutions where the C-rate is different, for example.
@rtimms Sorry for the silly question but can you please mention the file name in which the changes need to be done
In QuickPlot
here. At the moment you can choose a time unit (hours, minutes, seconds). It would be good to instead of plotting vs time have the option to plot as a function of the variable “Discharge capacity [A.h]”.
Ok
I started working on this issue last year but couldn't complete it. I have pushed the local branch on my fork, it might help - https://github.com/Saransh-cpp/PyBaMM/blob/issue-1751-discharge-capacity-as-x-axis/pybamm/plotting/quick_plot.py
Is anyone working on this currently? I'll be happy to give it a go if not. First time contributor here.