Ticket #9510 (assigned)

Opened 6 years ago

Last modified 5 years ago

Trouble exporting Publication quality graphs

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Backlog
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description (last modified by Nick Draper) (diff)

I'm trying to export a 2D colour fill plot from Mantid, though most of these arguments apply to line plots too.

If I export the graph as a bitmap, it's exported at the resolution I see on screen. To get high resolution it's necessary to maximise the graph window - and then go round and change all the font sizes so that they are still a sensible fraction of the graph size and will be legible. It would be nice to be able to specify a higher DPI for export. The "graph.exportImage(...)" or "layer.exportImage(...)" functions don't seem to work quite like the web page suggests (http://www.mantidproject.org/MantidPlot:_Exporting_plots/layers_to_different_image_formats). As an aside the text in the image has coloured fringe edges which are the result of antialiasing on a colour screen, but look horrible when zoomed in.

If I export as PDF, line graphs and axes are OK but the 2D colour plot is exported as an image with pixel size matching the current screen resolution and some rather nasty compression artefacts - there's no way to specify the image compression factor. It might be good to draw the image as individual vector blocks of colour, especially if there aren't many pixels.

Exporting 2D colour plots as EPS fails (mostly black image with a few lines on it).

There aren't any vector export formats that can be imported into PowerPoint... while Mantid is probably trying to be platform independent, being able to export something like WMF might be nice.

James Lord.

Change History

comment:1 Changed 6 years ago by Nick Draper

  • Description modified (diff)

comment:2 Changed 6 years ago by Nick Draper

(presently using nightly release 3.1.20140516.1817, Windows 64 bit)

comment:3 Changed 6 years ago by Nick Draper

  • Status changed from new to assigned

comment:4 Changed 6 years ago by Nick Draper

  • Milestone changed from Release 3.2 to Backlog

Moved to Backlog at the code freeze of release 3.2

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10353

Note: See TracTickets for help on using tickets.