Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- assoc = Association[{}]
- f[z_] := Module[{tmp},
- tmp = g[z];
- assoc = Append[assoc, z -> tmp];
- ]
- ListPlot[Map[Function[i, {i, assoc[i]}], Keys[assoc]]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement