@@ 869-873 (lines=5) @@ | ||
866 | axes.scatter(item[0], item[1], item[2], c = 'w', marker = marker_descr); |
|
867 | else: |
|
868 | axes.scatter(data[item][0], data[item][1], data[item][2], c = 'w', marker = marker_descr); |
|
869 | ||
870 | axes.grid(True); |
|
871 | ||
872 | if (hide_axes is True): |
|
873 | axes.xaxis.set_ticklabels([]); |
|
874 | axes.yaxis.set_ticklabels([]); |
|
875 | ||
876 | if (dimension == 3): |
|
@@ 848-852 (lines=5) @@ | ||
845 | axes.scatter(item[0], item[1], item[2], c = color, marker = marker_descr); |
|
846 | else: |
|
847 | axes.scatter(data[item][0], data[item][1], data[item][2], c = color, marker = marker_descr); |
|
848 | ||
849 | color_index += 1; |
|
850 | ||
851 | for item in noise: |
|
852 | if (dimension == 1): |
|
853 | if (data is None): |
|
854 | axes.plot(item[0], 0.0, 'w' + marker_descr); |
|
855 | else: |
@@ 358-362 (lines=5) @@ | ||
355 | elif (dimension == 3): |
|
356 | if (data is None): |
|
357 | ax.scatter(item[0], item[1], item[2], c = color, marker = marker, s = markersize); |
|
358 | else: |
|
359 | ax.scatter(data[item][0], data[item][1], data[item][2], c = color, marker = marker, s = markersize); |