|
|
|
|
|
plotXY(self,
x,
y,
title='',
xlabel=None,
ylabel=None,
shape=None,
clr=None,
lw=1)
Do x-y plot of 2 lists |
source code
|
|
|
|
doHistogram(self,
data,
bins=10)
Do a pylab histogram of 1 or more lists |
source code
|
|
|
|
doBarChart(self,
x,
y,
clr)
Do a pylab bar chart |
source code
|
|
|
|
doPieChart(self,
data)
Do a pylab bar chart |
source code
|
|
|
|
setData(self,
data)
Set the current plot data, useful for re-plotting without re-calling
explicit functions from the parent |
source code
|
|
|
|
|
|
|
setDataSeries(self,
names=None,
start=1)
Set the series names, for use in legend |
source code
|
|
|
|
setFormat(self,
format)
Set current data format of currdata |
source code
|
|
|
|
plotCurrent(self,
data=None,
graphtype='bar',
show=True,
guiopts=False,
title=None)
Re-do the plot with the current options and data |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setOptions(self,
shape=None,
grid=None,
xscale=None,
yscale=None,
showlegend=None,
legendloc=None,
linewidth=None,
graphtype=None,
font=None,
fontsize=None)
Set the options before plotting |
source code
|
|
|
|
|
|
|
applyOptions(self)
Apply the gui option vars to the plotter options |
source code
|
|
|
|
plotSetup(self,
data=None)
Plot options dialog |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
colors = ['#0049B4', '#C90B11', '#437C17', '#AFC7C7', '#E9AB17...
|
|
|
linestyles = ['-', '--']
|
|
|
shapes = ['o', '-', '--', ':', '.', 'p', '^', '<', 's', '+', '...
|
|
|
legend_positions = ['best', 'upper left', 'upper center', 'upp...
|
|
|
graphtypes = ['XY', 'hist', 'bar', 'pie']
|
|
|
fonts = ['serif', 'sans-serif', 'cursive', 'fantasy', 'monospa...
|