Ticket #4010 (closed: wontfix)

Opened 9 years ago

Last modified 5 years ago

Printing 'square' data comes out rectangular

Reported by: Anders Markvardsen Owned by: Nick Draper
Priority: major Milestone: Release 2.0
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Owen Arnold

Description

1) Load the attached nenux file 2) Do a colour contour plot which plot data as square 3) Chose File->Print which print data as array

This is important e.g. for the SANS guys who has users that prints out data and then uses a ruler to identify features.

Initial task is to see if there is some way to trick MantidPlot into doing this. In this context investigate if MantidPlot has a feature supporting this but this feature is not working.

Estimate is one man day

Attachments

10480_2d_reduced.nxs (433.9 KB) - added by Anders Markvardsen 9 years ago.
70 by 70 'square' SANS2D dataset provided by Richard

Change History

Changed 9 years ago by Anders Markvardsen

70 by 70 'square' SANS2D dataset provided by Richard

comment:1 Changed 9 years ago by Karl Palmen

I get the following errors when attempting to load the file (running MantidPlot from Visual C++):

Error reading file C:/Temp/10480_2d_reduced.nxs

Load started

Error reading file C:/Temp/10480_2d_reduced.nxs

Error in execution of algorithm Load:

Cannot find an algorithm that is able to load "C:/Temp/10480_2d_reduced.nxs".

Check that the file is a supported type.

comment:2 Changed 9 years ago by Karl Palmen

The file was apparently corrupted on attachment to this query. Anders sent me a version of this file that loads successfully.

comment:3 Changed 9 years ago by Karl Palmen

I've found that if scaleFactorX and scaleFactorY are forced to be equal to their minimum in Multilayer::printAllLayers then the desired preservation of squares occurs, if window rather than layer is selected on printing. This occurs whether or not the plot window is maximised.

This also affects other plots for which square preservation may not be wanted.

One may want, this to apply only to plots for which both X and Y axes are in the same units.

comment:4 Changed 9 years ago by Karl Palmen

I've found out one can get WYSIWYG printing by printing layer rather than window. The aspect ratio (squares) are preserved, but also the size is preserved.

comment:5 Changed 9 years ago by Karl Palmen

  • Status changed from new to verify
  • Resolution set to wontfix

Advise SANS guys that they can obtain WYSIWYG printing by printing layer rather than window.

comment:6 Changed 9 years ago by Nick Draper

  • Status changed from verify to reopened
  • Resolution wontfix deleted

verified

comment:7 Changed 9 years ago by Nick Draper

  • Status changed from reopened to accepted
  • Owner changed from Karl Palmen to Nick Draper

Darn, I hit the wrong button, next tester please just "pass testing"

comment:8 Changed 9 years ago by Nick Draper

  • Status changed from accepted to verify
  • Resolution set to wontfix

comment:9 Changed 9 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:10 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

As tester. Following instructions for passing.

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4857

Note: See TracTickets for help on using tickets.