LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp.plot.bar Namespace Reference

Author: J.A. More...

Classes

class  BarScene
 Graphhics Scene for plotting bars. More...
 

Functions

 graphicsTextItem (label)
 

Variables

int leftoffset = 120
 
int rightoffset = 60
 
int topoffset = 30
 
int bottomoffset = 80
 
int xticklabeloffset = 55
 
int xlabelbottomoffset = 30
 
int ylabelleftoffset = 30
 
int nyticks = 11
 
int ticklength = 10
 
int dxbars = 2
 
list DEFAULT_COLORS
 

Detailed Description

Author: J.A.

de Jong - ASCEE

Description: Class for plotting bars on a QGraphicsScene.

Function Documentation

◆ graphicsTextItem()

lasp.plot.bar.graphicsTextItem (   label)

Definition at line 40 of file bar.py.

Variable Documentation

◆ bottomoffset

int lasp.plot.bar.bottomoffset = 80

Definition at line 25 of file bar.py.

◆ DEFAULT_COLORS

list lasp.plot.bar.DEFAULT_COLORS
Initial value:
1= [ASCEEColors.blue, ASCEEColors.green, Qt.red, Qt.cyan,
2 Qt.darkYellow,
3 Qt.darkMagenta]

Definition at line 35 of file bar.py.

◆ dxbars

int lasp.plot.bar.dxbars = 2

Definition at line 33 of file bar.py.

◆ leftoffset

int lasp.plot.bar.leftoffset = 120

Definition at line 22 of file bar.py.

◆ nyticks

int lasp.plot.bar.nyticks = 11

Definition at line 29 of file bar.py.

◆ rightoffset

int lasp.plot.bar.rightoffset = 60

Definition at line 23 of file bar.py.

◆ ticklength

int lasp.plot.bar.ticklength = 10

Definition at line 30 of file bar.py.

◆ topoffset

int lasp.plot.bar.topoffset = 30

Definition at line 24 of file bar.py.

◆ xlabelbottomoffset

int lasp.plot.bar.xlabelbottomoffset = 30

Definition at line 27 of file bar.py.

◆ xticklabeloffset

int lasp.plot.bar.xticklabeloffset = 55

Definition at line 26 of file bar.py.

◆ ylabelleftoffset

int lasp.plot.bar.ylabelleftoffset = 30

Definition at line 28 of file bar.py.