Skip to content
  • Nick Potts's avatar
    plot,plotter: add support for inverting an axis · db5ea5fa
    Nick Potts authored and Sebastien Binet's avatar Sebastien Binet committed
    * Add in structures to invert an axis
    
    This change was spurned by attempting to plot atmospheric data, which is
    commonly plotted against an inverted pressure axis
    (https://www.ncl.ucar.edu/Applications/height_lat.shtml
    
    ).  This change
    adds direct library support for inverting an axis, rather than using
    external structures to do the same thing
    
    Signed-off-by: default avatarnpotts <npotts@users.noreply.github.com>
    
    * Added Golden example
    
    Add testable example to check if the output matches
    
    * Grammer and govetish formats
    
    - Retitled output PNG
    - Golden output needed to be updated
    
    * Implement suggestions from code review
    
    * Rewording and minor gammer changes
    
    - Implemented more suggestions from @kortschak.  Mostly grammer changes
    
    * Removed accidentally pasted line
    
    * More grammer fixes
    db5ea5fa