petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscDrawBarSort

Sorts the values before drawing the bar chart

Synopsis

#include "petscdraw.h" 
#include "petscsys.h" 
#include "petscviewer.h" 
PetscErrorCode  PetscDrawBarSort(PetscDrawBar bar, PetscBool sort, PetscReal tolerance)
Logically Collective on PetscDrawBar

Input Parameters

bar - The bar graph context
sort - PETSC_TRUE to sort the values
tolerance - discard values less than tolerance

See Also

PetscDrawBarCreate(), PetscDrawBar, PetscDrawBarSetData(), PetscDrawBarSetColor(), PetscDrawBarDraw(), PetscDrawBarGetAxis()

Level

intermediate

Location

src/sys/classes/draw/utils/bars.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages