Ask Your Question

matplotlib graph (.png image) modification post-creation

asked 2013-07-09 12:23:35 +0200

mresimulator gravatar image

Hi experts!

I have some .png images gennerated (matplotlib graphs).

I wanna customize these images (change axes labels, change resolution, etc.). How can I do it?

Waiting for your answers.

Thank a lot!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-09 15:38:23 +0200

Eviatar Bach gravatar image

There's no way of easily changing PNG files; they're just flat images. You can always edit them with a raster image editor such as GIMP or Photoshop, but it's non-trivial to do things like change the axis labels.

If you have the source code that generated these images it's easy to change these things. If you want a more easily editable format for the future try SVG.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-07-09 12:23:35 +0200

Seen: 300 times

Last updated: Jul 09 '13