Index: trunk/psModules/src/objects/pmSourcePlots.c
===================================================================
--- trunk/psModules/src/objects/pmSourcePlots.c	(revision 12832)
+++ trunk/psModules/src/objects/pmSourcePlots.c	(revision 13214)
@@ -5,6 +5,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-04-14 03:22:48 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-05-04 00:54:09 $
  *
  *  Copyright 2006 IfA, University of Hawaii
@@ -67,5 +67,5 @@
         layout->nX = 4;
         layout->nY = 2;
-        layout->aspectRatio = 2.0;
+        layout->aspectRatio = 1.0;
         // count the number of chips and their layout (xrange, yrange, axis ratio)
         for (int i = 0; i < fpa->chips->n; i++) {
@@ -104,4 +104,7 @@
         layout = pmSourcePlotLayoutAlloc ();
         layout->nTotal = 1;
+        layout->nX = 1;
+        layout->nY = 1;
+        layout->aspectRatio = 1.0;
     } else {
         psMemIncrRefCounter (layout);
@@ -119,4 +122,7 @@
             if (!strcmp (file->name, "SOURCE.PLOT.MOMENTS")) {
                 pmSourcePlotMoments (newView, file, config, layout);
+            }
+            if (!strcmp (file->name, "SOURCE.PLOT.APRESID")) {
+                pmSourcePlotApResid (newView, file, config, layout);
             }
         }
