python - Exporting a matplotlib animation to an image -
i have matplotlib animation (for instance one of these) , want export svg image several frames superimposed (e.g. in this paper, fig. 2. on 5th page). objective have image describes motion possible.
what best way achieve this?
unfortunately can't view .pdf @ moment, approach solving draw each 'frame' of animation in same plot in matplotlib using plot(x,y)
, , use savefig('image.svg')
(if .svg format can saved in manner matplotlib).
optionally, add argument plot
call, colours plots different shade of colour, according frame number.
Comments
Post a Comment