<div dir="ltr">Dear GrADS Users:<br><br> I am trying to use "<a href="http://subplot.gs">subplot.gs</a>" from GrADS script library to plot multiple figures. But this display one by one single figure and following error message.<br>
<br>ga-> run <a href="http://full.gs">full.gs</a> <br>No hardcopy metafile open<br>
All files closed; all defined objects released;<br>All GrADS attributes have been reinitialized<br> Prepare GrADS for a multi-panel plot.<br><br> USAGE: subplot <ntot> <idx> [<ncol>] [-tall 0|1] [-tight 0|1] [-xtight 0|1] [-ytight 0|1] [-scale <scalingfactor>] [-xy <xyratio>] [-xs <xspacing>] [-ys <yspacing>] [-xp <xpadding>] [-yp <ypadding>] [-sameh2left 0|1] [-samey2left 0|1]<br>
<ntot>: total number of panels to be plotted; no preset limit. Do NOT have to be # of rows times # of columns; will be rounded up to that value.<br> <idx>: index of the panel to be plotted, numbered column-wise, from top to bottom, then left to right.<br>
In each row/column, panels with smaller <idx> MUST be plotted earlier; no constraints otherwise.<br> <ncol>: number of columns; no preset limit. Defaults to 2 (even if <ntot>=1).<br> -tall 1: use if the plot is so tall that cannot otherwise be fitted into one page.<br>
-tight 1: use if no spaces are wanted between panels.<br> -xtight 1: use if no horizontal spaces are wanted between panels.<br> -ytight 1: use if no vertical spaces are wanted between panels.<br> <scalingfactor>: scaling factor. Defaults to 1.<br>
<xyratio>: aspect ratio of the plotting area. Defaults to 1.667. An optimal value will be calculated for latlon map projections.<br> <xspacing>: horizontal spacing (in addition to initial value 0). Defaults to 0.<br>
<yspacing>: vertical spacing (in addition to initial value 0). Defaults to 0.<br> <xpadding>: horizontal padding (in addition to initial value 0.33). Defaults to 0.<br> <ypadding>: vertical padding (in addition to initial value 0.22). Defaults to 0.<br>
-sameh2left 1: to set panel height the same to the immediate left panel.<br> -samey2left 1: to align panel top to the immediate left panel.<br><br> Note: Spacing refers to blank space between virtual pages; can be any value.<br>
Padding refers to space between virtual page boundaries and plotting area; cannot be negative values.<br><br> EXAMPLE (2 rows by 2 columns):<br> set lon 120 300<br> set lat -20 60<br> subplot 4 1<br> display sst1<br>
subplot 4 2<br> display sst2<br> subplot 4 3<br> display sst3<br> subplot 4 4<br> display sst4<br><br> Dependencies: parsestr.gsf, parseopt.gsf, qdims.gsf<br><br> Copyright (C) 2009 Bin Guan.<br>
Distributed under GNU/GPL.<br>Function not found: parseopt <br> Error occurred on line 45<br> In file /home/azhar/scripts/<a href="http://subplot.gs">subplot.gs</a><br>In file /home/azhar/scripts/<a href="http://subplot.gs">subplot.gs</a><br>
Function not found: parseopt <br> Error occurred on line 45<br> In file /home/azhar/scripts/<a href="http://subplot.gs">subplot.gs</a><br>Function not found: parseopt <br> Error occurred on line 45<br> In file /home/azhar/scripts/<a href="http://subplot.gs">subplot.gs</a><br>
Function not found: parseopt <br> Error occurred on line 45<br> In file /home/azhar/scripts/<a href="http://subplot.gs">subplot.gs</a><br>Function not found: parseopt <br> Error occurred on line 45<br> In file /home/azhar/scripts/<a href="http://subplot.gs">subplot.gs</a><br>
<br> <br>Advance thanks for your help/suggestions.<br><br>Regards:<br> Azhar<br clear="all"><br>-- <br>Muhammad Azhar Ehsan<br>M.Sc. Student<br><br>Department of Meteorology<br>King Abdulaziz University<br>P. O. Box 80234<br>
Jeddah 21589<br>Saudi Arabia<br><br>Email: <a href="mailto:azhar.ehsan82@gmail.com">azhar.ehsan82@gmail.com</a><br>Mobile: (+966) 55 1276318<br>
</div>