Skip to content

Commit

Permalink
example/README.md: added extract.f90 and info.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed Nov 17, 2023
1 parent 6abd9b5 commit 523e709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ They can be launched with the command `fpm run --example name_of_the_example` (w

* `demo.f90` creates demo PPM files for each built-in colormap, plus a PPM file with the corresponding colorbars. It also demonstrates how to create your own colormap defined in an array and how to download a colormap from a `.txt` file.
* `demo_reverse.f90` demonstrates the usage of the `reverse=.true.` option to reverse the direction of a colormap.
* `example1.f90` demonstrates how ForImage can be used to import/export PPM files.
* `example1.f90` demonstrates how ForImage can be used to import/export PPM files.
* `extract.f90` demonstrates how to create a specific colormap by extracting a specified number of colors of a colormap.
* `info.f90` demonstrates how to obtain information about a colormap using the `Colormaps_info` class.

0 comments on commit 523e709

Please sign in to comment.