write_ppm_colormap_1d Subroutine

private impure subroutine write_ppm_colormap_1d(self, filename, zfun, xmin, xmax, width, height, encoding)

Uses

    • forimage
  • proc~~write_ppm_colormap_1d~~UsesGraph proc~write_ppm_colormap_1d Colormap%write_ppm_colormap_1d forimage forimage proc~write_ppm_colormap_1d->forimage

render a colormap defined by a 1D function into a PPM file

Type Bound

Colormap

Arguments

Type IntentOptional Attributes Name
class(Colormap), intent(in) :: self
character(len=*), intent(in) :: filename
procedure(zf1d) :: zfun
real(kind=wp), intent(in) :: xmin
real(kind=wp), intent(in) :: xmax
integer, intent(in), optional :: width
integer, intent(in), optional :: height
character(len=*), intent(in), optional :: encoding

Calls

proc~~write_ppm_colormap_1d~~CallsGraph proc~write_ppm_colormap_1d Colormap%write_ppm_colormap_1d export_pnm export_pnm proc~write_ppm_colormap_1d->export_pnm get_format get_format proc~write_ppm_colormap_1d->get_format local local proc~write_ppm_colormap_1d->local proc~compute_rgb Colormap%compute_RGB proc~write_ppm_colormap_1d->proc~compute_rgb set_format set_format proc~write_ppm_colormap_1d->set_format set_pnm set_pnm proc~write_ppm_colormap_1d->set_pnm proc~get_rgb Colormap%get_RGB proc~compute_rgb->proc~get_rgb