2D plotting for Julia
Julia
Latest commit f6ae1dd Mar 28, 2017 @ararslan ararslan committed on GitHub Update badges for move to JuliaGraphics (#278)
Permalink
Failed to load latest commit information.
doc fix for 0.4rc2 Sep 22, 2015
src Updates for Julia 0.6 Mar 26, 2017
test Updates for Julia 0.6 Mar 26, 2017
.gitignore Add .gitignore Jun 21, 2013
.travis.yml Updates for Julia 0.6 Mar 26, 2017
LICENSE update copyright years Jan 27, 2014
NEWS update NEWS May 1, 2014
README.md Update badges for move to JuliaGraphics (#278) Mar 28, 2017
REQUIRE Updates for Julia 0.6 Mar 26, 2017

README.md

Winston: 2D Plotting for Julia

Build Status Coverage Status Winston Winston

Installation

julia> Pkg.add("Winston")

Getting started

Winston offers an easy to use plot command to create figures without any fuss. After Winston is loaded by typing using Winston, the most basic plot can be created by just writing

julia> plot(x, y)

There is also an oplot command to add objects into already existing plots. To add something to this, use

julia> oplot(x2, y2)

And finally save it with

julia> savefig("figure.png")   # .eps, .pdf, & .svg are also supported

More elaborate figures can be created by using the quick option for color, line, and symbols

julia> plot(x, y, "r--")

This creates a red dashed curve. Abbreviations for colors and lines/symbols are same as in matplotlib. The plot command can also take more then one set of vectors and style options, like this

julia> plot(x, y, "b:", x2, y2, "g^")

which creates a blue dotted line and green triangles.

Documentation

Hosted by Read The Docs.