Skip to content

Instantly share code, notes, and snippets.

@ontouchstart
Created August 11, 2018 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ontouchstart/7fcfb276ce8a859c62c078694da26b3e to your computer and use it in GitHub Desktop.
Save ontouchstart/7fcfb276ce8a859c62c078694da26b3e to your computer and use it in GitHub Desktop.
using Plots
ENV["GKSwstype"]="svg"
x = 1:10
y = rand(10,2)
p = Plots.plot(x,y)
savefig(p, "PlotsDemo.svg")
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment