WISPO-POP / PowerPlots.jl

Functions plot PowerModels networks
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

Migrate from Plots.jl to Makie.jl #5

Closed noahrhodes closed 3 years ago

noahrhodes commented 4 years ago

Annotations (specificlly rotation) do not work well with a non-fixed aspect ratio in Plots (rotation does align with the stretched axis, like the power flow arrows). Might work better in Makie?

Makie may also be faster. Just using AbstractPlotting (sub module in Makie) might allow speed up. Can also enable interactive plots in the future. (Clicking on a line shows its properties?, interactively update power injections?)

noahrhodes commented 4 years ago

I tested out makie: I believe it will actually be slower for large scale plots. It does not support drawing multiple lines with one lines! command, and then spends a lot of time in garbage collection.

There may be a more efficient way (makie-esque) way to do it that I am unaware of.

noahrhodes commented 3 years ago

Vegaplot will be the backend of choice for now. (#18 )