Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. list = {{1, 2, 3, 4, 5}, {2, 2, 2, 2, 2}};
  2. ListPointPlot3D[list]
  3.  
  4. list = {{1, 2, 3, 4, 5}, {2, 2, 2, 2, 2}};
  5. list2 = Thread[{1, Range @ Length @ #, #}] & /@ list;
  6. ListPointPlot3D[list2, BaseStyle -> PointSize[Large]]
  7.  
  8. ListPointPlot3D /@ List /@ list // Show
  9.  
  10. cyclicListIterator[input_List] :=
  11. GeneralUtilities`NewIterator[cyclicListIterator,
  12. {i = 0, n = Length[input], list = input}, list[[Mod[++i, n, 1]]]]
  13.  
  14. colors = "DefaultPlotStyle" /. (Method /.
  15. Charting`ResolvePlotTheme[Automatic, ListPointPlot3D]) //
  16. cyclicListIterator;
  17. ListPointPlot3D[{#}, PlotStyle -> Read[colors]] & /@ list // Show
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement