Skip to content

Instantly share code, notes, and snippets.

@tueda
Created December 25, 2023 14:15
Show Gist options
  • Save tueda/a31e66a5da0e18b426e53a1dcf9ec232 to your computer and use it in GitHub Desktop.
Save tueda/a31e66a5da0e18b426e53a1dcf9ec232 to your computer and use it in GitHub Desktop.
Save a plot on WolframCloud.
(* cf. https://mathematica.stackexchange.com/a/278798 *)
makeImage[g_] := Block[{$ImageResolution = 300},
Export[CloudObject["output.png"], g, "PNG"];
Show[g]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment