#include <petscdraw.h> int PetscDrawRealToColor(PetscReal value,PetscReal min,PetscReal max)Not Collective
value | - value to map within the interval [min,max] | |
min | - lower end of interval | |
max | - upper end of interval |
Notes: Values outside the interval [min,max] are clipped.
Level:intermediate
Location:src/sys/classes/draw/../../../../include/petscdraw.h
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages