Skip to content

urbanjost/M_graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name

M_graph(3f) - a module for generating a basic XY plot (WIP) (LICENSE:PD)

Synopsis

    use M_graph, only : plot
    use M_graph, only : graph_init
    ! depricated
    use M_graph, only : graph

Description

A WIP(Work In Progress), MAYBE. Looking at alternatives for making a simple XY plot from Fortran with a simple call. May use something else or just rewrite.

The intent is to create an OOP interface with plot(3f), and to ultimately hide direct use of the graph(3f) routine and to modernize and improve the old-style routine.

requires fpm(1)

List of Procedures

  • graph_init ! set up display area
  • graph ! generate a basic xy plot
  • plot ! generate a basic xy plot

Build and TesT with FPM -

Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )

     git clone https://github.com/urbanjost/M_graph.git
     cd M_graph
     fpm run "*"
     fpm run --example "*"
     fpm test

or just list it as a dependency in your fpm.toml project file.

        [dependencies]
        M_graph        = { git = "https://github.com/urbanjost/M_graph.git" }

Documentation docs

User

man-pages

  • There are man-pages in the repository download in the docs/ directory that may be installed on ULS (Unix-Like Systems).
  • a simple index to the man-pages in HTML form for the routines and programs

  • A single page that uses javascript to combine all the HTML descriptions of the man-pages is at BOOK_M_graph.

  • CHANGELOG provides a history of significant changes

Developer


Pedigree

Based on the public domain library liblong.

References -