Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!olivea!apple!agate!ucbvax!ucdavis!caldwr!rfinch
From: rfinch@caldwr.water.ca.gov (Ralph Finch)
Newsgroups: comp.lang.idl-pvwave
Subject: Bug in legend.pro (PV-Wave User's Library)
Message-ID: <250@locke.water.ca.gov>
Date: 16 Jan 91 03:25:54 GMT
Organization: Calif. Depart. of Water Resources, Sac.
Lines: 27


The legend.pro as distributed in 3.0 of PV-Wave won't adjust its text
size with the !p.charsize system variable.  The following corrects it:

*** legend.pro	Tue Jan 15 18:56:10 1991
--- legend.pro.orig	Tue Jan 15 17:03:09 1991
***************
*** 128,134 ****
      !P.PSym = MySyms (I)			 ;Adjust the plot symbol
      OPlot, Line_X, Line_Y - I * Delta_Y	 ;Overplot the line segment
      !P.LineStyle = 0
!     XYOutS, Text_X, Text_Y - I * Delta_Y, Labels (I), charsize=Text_Size
  					 ;Print the label
    EndFor
  
--- 128,134 ----
      !P.PSym = MySyms (I)			 ;Adjust the plot symbol
      OPlot, Line_X, Line_Y - I * Delta_Y	 ;Overplot the line segment
      !P.LineStyle = 0
!     XYOutS, Text_X, Text_Y - I * Delta_Y, Labels (I); Text_Size
  					 ;Print the label
    EndFor
  
-- 
Ralph Finch			916-445-0088
rfinch@water.ca.gov		...ucbvax!ucdavis!caldwr!rfinch
Any opinions expressed are my own; they do not represent the DWR