grImageSize (Function) In french: grTailleImage Defines the size of the image containing the chart.
// Define the size of the image containing "MyChart" grImageSize("MyChart", 10, 10, 100, 150)
Syntax
grImageSize(<Chart name> , <x1> , <y1> , <x2> , <y2>)
<Chart name>: Character string Name of chart to use, defined by grCreate. <x1>: Real X coordinate (in pixels) of the top left corner of the image. <y1>: Real Y coordinate (in pixels) of the top left corner of the image. <x2>: Real X coordinate (in pixels) of the bottom right corner of the image. <y2>: Real Y-coordinate (in pixels) of the lower-right corner of the image. Remarks Image file If the destination of the chart corresponds to a BMP, EMF or WMF file, grImageSize initializes the dimensions of the chart image to save it. Inclusion The parameters defined by grImageSize will be taken into account during the next call to grDraw.
|
|
|
|