The Specialized Fortran 77 API for PLplot

The PLplot Plotting Library: Programmer's Reference Manual
Prev |  | Next

# Chapter 20. The Specialized Fortran 77 API for PLplot

The purpose of this Chapter is to document the API for each Fortran 77 function in PLplot that differs substantially (usually in argument lists) from the common API that has already been documented in Chapter 17.

Normally, the common API is wrapped in such a way for Fortran 77 that there is and one-to-one correspondence between each Fortran 77 and C argument (see Chapter 9 for discussion). However, for certain routines documented in this chapter the Fortran 77 argument lists necessarily differ substantially from the C versions.

This chapter is incomplete and NEEDS DOCUMENTATION of, e.g., the Fortran 77 equivalent of the plshade C routines.

### `plcon0`: Contour plot, identity mapping for Fortran 77

`plcon0` (z, nx, ny, kx, lx, ky, ly, clevel, nlevel);

Draws a contour plot of the data in ``z`[`nx`][`ny`]`, using the ``nlevel`` contour levels specified by ``clevel``. Only the region of the array from ``kx`` to ``lx`` and from ``ky`` to ``ly`` is plotted out. See the Section called Contour and Shade Plots in Chapter 3 for more information.

`z` (`PLFLT **`, input) Pointer to a vectored two-dimensional array containing data to be contoured. `nx, ny` (`PLINT`, input) Physical dimensions of array ``z``. `kx, lx` (`PLINT`, input) Range of `x` indices to consider. `ky, ly` (`PLINT`, input) Range of `y` indices to consider. `clevel` (`PLFLT *`, input) Pointer to array specifying levels at which to draw contours. `nlevel` (`PLINT`, input) Number of contour levels to draw.

NOTE: this function is intended for use from a Fortran 77 caller only. The C user should instead call `plcont` using the built-in transformation function `pltr0` for the same capability.

Prev | Home | Next
`plsesc`: Set the escape character for text strings for Fortran 95 | Up | `plcon1`: Contour plot, general 1-d mapping for Fortran 77