SPH
Classes | Enumerations | Functions
Plot.h File Reference

Drawing quantity values as functions of time or spatial coordinates. More...

#include "objects/containers/Queue.h"
#include "objects/utility/OperatorTemplate.h"
#include "physics/Integrals.h"
#include "post/Analysis.h"

Go to the source code of this file.

Classes

class  IDrawPath
 
class  IDrawingContext
 Abstraction of a drawing context. More...
 
class  IPlot
 Interface for constructing generic plots from quantities stored in storage. More...
 
class  SpatialPlot< TDerived >
 Base class for plots showing a dependence of given quantity on a spatial coordinate. More...
 
class  AxialDistributionPlot
 Plots a dependence of given quantity on the distance from given axis. More...
 
class  RadialDistributionPlot
 Plots a dependence of given quantity on the distance from the origin. More...
 
class  TemporalPlot
 Plot of temporal dependence of a scalar quantity. More...
 
struct  TemporalPlot::Params
 Parameters of the plot. More...
 
class  HistogramPlot
 Differential histogram of quantities. More...
 
class  AngularHistogramPlot
 Differential histogram of angular distribution. More...
 
class  SfdPlot
 
class  DataPlot
 Plots given array of points. More...
 
class  MultiPlot
 Helper object used for drawing multiple plots into the same device. More...
 

Enumerations

enum class  AxisScaleEnum { LOG_X = 1 << 0 , LOG_Y = 1 << 1 }
 

Functions

Array< FloatgetLinearTics (const Interval &interval, const Size minCount)
 Returns the tics to be drawn on a linear axis of a plot. More...
 
Array< FloatgetLogTics (const Interval &interval, const Size minCount)
 Returns the tics to be drawn on a logarithmic axis of a plot. More...
 

Detailed Description

Drawing quantity values as functions of time or spatial coordinates.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Plot.h.

Enumeration Type Documentation

◆ AxisScaleEnum

enum AxisScaleEnum
strong
Enumerator
LOG_X 
LOG_Y 

Definition at line 342 of file Plot.h.

Function Documentation

◆ getLinearTics()

Array<Float> getLinearTics ( const Interval interval,
const Size  minCount 
)

Returns the tics to be drawn on a linear axis of a plot.

The tics are not necessarily equidistant.

Definition at line 423 of file Plot.cpp.

◆ getLogTics()

Array<Float> getLogTics ( const Interval interval,
const Size  minCount 
)

Returns the tics to be drawn on a logarithmic axis of a plot.

Definition at line 458 of file Plot.cpp.