Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

frlnset.f

Go to the documentation of this file.
00001 
00002 c     
00003 c     Copyright (c) 1986,1987,1988,1989,1990,1991,1992,1993,
00004 c     by Steve McMillan, Drexel University, Philadelphia, PA.
00005 c     
00006 c     All rights reserved.
00007 c     
00008 c     Redistribution and use in source and binary forms are permitted
00009 c     provided that the above copyright notice and this paragraph are
00010 c     duplicated in all such forms and that any documentation,
00011 c     advertising materials, and other materials related to such
00012 c     distribution and use acknowledge that the software was developed
00013 c     by the author named above.
00014 c     
00015 c     THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
00016 c     IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
00017 c     WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00018 c     
00019 
00020 
00021       subroutine fr lnset(x1,x2,xlen,mode,dxs,dxm,dxl,
00022      $                    labsp,labdp,labpow)
00023       save
00024 c     
00025 c     Determines increments for small, major and numbered ticks
00026 c     for a linear plot
00027 c     
00028       call fr lndiv(x1,x2,xlen,dxs,dxm,dxl)
00029       call fr lnfnc(x1,x2,dxm,mode,firstl,nl)
00030       call fr lnfnc(x1,x2,dxl,1,firstl,nl)
00031 c     
00032       if (mode.eq.2) then
00033 c         
00034 c         Insist on at least two numeric labels.
00035 c         
00036           if(firstl+dxl.gt.max(x1,x2))then
00037               dxl=2*dxm
00038               if(firstl-dxl.ge.min(x1,x2))firstl=firstl-dxl
00039           end if
00040       end if
00041 c
00042       call fr labfrm(firstl,dxl,nl,labsp,labdp,labpow)
00043 c     
00044       end

Generated at Sun Feb 24 09:57:00 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001