Ask Your Question
0

matplotlib graph (.png image) modification post-creation

asked 11 years ago

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!

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

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.

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 11 years ago

Seen: 367 times

Last updated: Jul 09 '13