Changeset 3017 for trunk


Ignore:
Timestamp:
12/03/14 14:40:06 (10 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: Yes CAS-6168

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sd

Description: add help text in plotter2.set_vs() that the actual image height might not be always the same as the value expected from (width * aspect) and there might be 1 pixel difference especially when unit is set 'pixel'; actually height is calculated inside cpgpap() so uncontrollable directly.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/plotter2.py

    r2909 r3017  
    7474            set_vs(width=400, unit='pixel', aspect=0.75) -- set the output
    7575                window/file as a rectangle with 400 pixels in width and
    76                 300 pixels in height.
     76                300 pixels in height, though the actual height might not
     77                be the same as specified (see below).
    7778
    7879        Note:
     
    8687            recommended to use 'pixel' for 'png' output, and other units
    8788            for 'xwindow' (the default) or PostScript output.
     89            It should also be noted in case unit of 'pixel' that the actual
     90            height might not be always the same as you expect by (width *
     91            aspect); one pixel difference in the actual height might occur.
    8892        """
    8993        if width is None:
Note: See TracChangeset for help on using the changeset viewer.