2021-01-15 12:59:02 +0100 | received badge | ● Popular Question (source) |
2018-04-09 05:09:45 +0100 | commented answer | Graphics not plotted in same plot? Thanks! Very insightful. I hope to become proficient in Sage, soon. I'll have to spend time going through lots of documentation, since I didn't even know about polygons! I appreciate the advice, especially the perspective about splitting up tasks. I imagine then that graphic_arrays aren't terribly useful? |
2018-04-09 05:06:25 +0100 | received badge | ● Supporter (source) |
2018-04-09 03:21:10 +0100 | received badge | ● Editor (source) |
2018-04-09 03:11:12 +0100 | received badge | ● Student (source) |
2018-04-09 03:10:42 +0100 | asked a question | Graphics not plotted in same plot? I'm trying to make a sierpinsky triangle recursively, and i can generate all the triangles (via 3 line segments), however when i go to show my list, the graphics print separately. I saw on the documentation there's a graphics_array, which seems useful, but there weren't many examples and my tinkering with it was pretty much useless, especially since the "adjoin" feature is not yet implemented. Also tried passing the graphics object "some_lines" to get filled by the function, but it doesn't seem like it accesses the reference. Code attached, maybe you can see a way I can plot all the lines within one sum of graphics, as was my initial attempt: |