Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- yaxis

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
yaxis
Synopsis
/infobank/programs/plt/timeprof/src/yaxis.for
Description
  Subroutine to draw and label y axes for TIMEPROF.

       
USAGE
    call yaxis (XLength, YLength, XOrigin, YOrigin, 

                YStartValue, YScale,
                FieldName, SymbolCode, NumberOfFiles,
                NumberOfFields, MaxNumOfFields, ThickLineCode,
                ThinLineCode, UsingColor)
    
SUBROUTINES
  stringlen (external shareable)

  newpen    (external Calcomp)
  plot      (external Calcomp)
  number    (external Calcomp)
  symbol    (external Calcomp)
  numlength (internal)
    
AUTHOR
  Carolyn Hayashida Degnan, 08/23/83

       based on initial profile program protime.for by:
       Clint Steele           7/10/83              .for
  Clint Steele      1/16/85      improve structure, maintainability
  Clint Steele      8/15/90      Cleanup

    
Reads
Writes
Opens
Calls
          call newpen (ThinLineCode)
                 call plot (XOrigin, YOrigin + TicCounter, 3)
                 call plot (XOrigin - SmallTic, YOrigin + TicCounter, 2)
                  call plot (XOrigin + XLength, YOrigin + TicCounter, 3)
                  call plot (XOrigin + XLength + SmallTic,
     *                       YOrigin + TicCounter, 2)
                  call stringlen (FieldName (FieldPointer, FilePointer),
     *                            LabelLength)
                      call newpen (FieldNumber)
                      call newpen (ThinLineCode)
                      call newpen (ThickLineCode)
                          call numlength (TicLabel, NumberOfDigits)
                          call number (XAxisLocation - SmallLetter -
     *                                 BigSpace,
     *                                 YOrigin + TicCounter -
     *                                 LabelCenter,
     *                                 SmallLetter, TicLabel, 90.,
     *                                 DecimalPlaces)
                          call symbol
     *                        (XAxisLocation -
     *                         (MediumSpace + BigTic + BigSpace +
     *                          SmallLetter + SmallSpace),
     *                        YLabelLocation, SmallLetter,
     *                        SymbolCode (FieldNumber), 90., -1)
                          call symbol
     *                      (XAxisLocation -
     *                      (BigTic + BigSpace + SmallSpace +
     *                        SmallLetter),
     *                      YLabelLocation + (2 * SmallLetter),
     *                      SmallLetter, 
     *                      %ref (FieldName(FieldPointer, FilePointer)),
     *                      90., LabelLength)
                          call symbol
     *                     (XAxisLocation -
     *                       (BigTic + BigSpace + SmallSpace + 
     *                        SmallLetter),
     *                     YLabelLocation, SmallLetter,
     *                     %ref (FieldName (FieldPointer, FilePointer)),
     *                     90., LabelLength)
                          call numlength (TicLabel, NumberOfDigits)
                          call number (
     *                       XAxisLocation + SmallLetter + BigSpace,
     *                       YOrigin + TicCounter + LabelCenter,
     *                       SmallLetter, TicLabel, 270., DecimalPlaces)
                          call symbol (
     *                       XAxisLocation + SmallLetter + MediumSpace +
     *                       BigTic + BigSpace + SmallSpace,
     *                       YLabelLocation, SmallLetter,
     *                       SymbolCode (FieldNumber), 270.,-1)
                          call symbol
     *                        (XAxisLocation + BigTic + BigSpace +
     *                         SmallSpace + SmallLetter,
     *                         YLabelLocation - (2 * SmallLetter),
     *                         SmallLetter,
     *                         %ref (FieldName (FieldPointer,
     *                                          FilePointer)),
     *                         270., LabelLength)
                          call symbol
     *                        (XAxisLocation + BigTic + BigSpace +
     *                         SmallSpace + SmallLetter,
     *                         YLabelLocation, SmallLetter,
     *                         %ref (FieldName (FieldPointer,
     *                                          FilePointer)),
     *                         270., LabelLength)

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/plt/timeprof/src/yaxis.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:39:18 PDT 2013  (chd)