if len(vectors_to_plot)==2: #3d plots are to come...
if len(plot.styles) > 0 and plot.styles[c] == 'scatter':
self.axes[dest].scatter(vectors_to_plot[0],vectors_to_plot[1])
+ elif len(plot.styles) > 0 and plot.styles[c] == 'scatter_red':
+ self.axes[dest].scatter(vectors_to_plot[0],vectors_to_plot[1],color='red')
else:
self.axes[dest].plot(vectors_to_plot[0],vectors_to_plot[1])
for plotset in plot.vectors:
if len(plot.styles) > 0 and plot.styles[c]=='scatter':
self.axes[dest].scatter(plotset[0], plotset[1])
+ elif len(plot.styles) > 0 and plot.styles[c] == 'scatter_red':
+ self.axes[dest].scatter(plotset[0],plotset[1],color='red')
else:
self.axes[dest].plot(plotset[0], plotset[1])
c+=1
if (row[0]<9000 and row[1]<9000 and row[2]<9000 and row[3]<9000 and row[4]<9000 and row[5]<9000):
if (row[0]>0 and row[1]>0 and row[2]>0 and row[3]>0 and row[4]>0 and row[5]>0):
self.pca_paths[nPlotGood] = plot_path_temp
+ row=[row[1],row[2]]
self.pca_myArray.append(row)
nPlotGood = nPlotGood+1
Y=myArrayTr[1]
clustplot=lhc.PlotObject()
clustplot.add_set(X,Y)
- #clustplot.add_set(X[:14],Y[:14])
+ clustplot.add_set(X[:15],Y[:15])
clustplot.normalize_vectors()
- clustplot.styles=['scatter']
+ clustplot.styles=['scatter', 'scatter_red']
#clustplot.styles=['scatter',None]
clustplot.destination=1
self._send_plot([clustplot])