Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Added a LineViewPlot in GenerateData

This commit is contained in:
Arnar Flatberg 2006-10-17 13:59:31 +00:00
parent bf951990f5
commit c40f9a2947
1 changed files with 3 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class TestDataFunction(workflow.Function):
def run(self):
logger.log('notice', 'Injecting foo test data')
x = randn(5000,4)
x = randn(500,15)
X = dataset.Dataset(x)
p = plots.ScatterPlot(X, X, 'rows', 'rows', '0_1', '0_2',name='scatter')
p2 = plots.ScatterMarkerPlot(X, X, 'rows', 'rows', '0_1', '0_2',name='marker')
@ -116,7 +116,8 @@ class TestDataFunction(workflow.Function):
cds = dataset.CategoryDataset(ones([3, 3]))
ds_scatter = plots.ScatterMarkerPlot(ds, ds, 'rows_0', 'rows_0', '0_1', '0_2')
return [X, ds, p, ds_plot, ds_scatter, p2, cds]
lp = plots.LineViewPlot(X,major_axis=0)
return [X, ds, p, ds_plot, ds_scatter, p2, cds,lp]
class SelectFunction(workflow.Function):
def __init__(self):