Jonathan Anderson 5166d16406 Update gr.jl inline display to match GR.jl
I wanted to switch from using GR directly to using Plots, but the inline plots were not working for me.

The following change is sufficient to generate inline plots in iterm for me
0f167b2be9/src/GR.jl (L3014)

julia> versioninfo()
Julia Version 0.6.0-pre.beta.187
Commit 55c97fb* (2017-04-17 23:06 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
julia> using TerminalExtensions
julia> using Plots
julia> gr(display_type=:inline);
julia> z=[sin(sqrt(x^2+y^2)) for x in linspace(-2π,2π,50), y in linspace(-2π,2π,50)];
julia> contour(z)
2017-04-18 10:32:07 -05:00
2016-06-09 12:08:36 -04:00
2017-02-24 15:19:41 -05:00
2016-11-17 13:07:58 -05:00
2016-08-02 20:39:49 -07:00
2015-08-25 22:55:20 -04:00
2016-10-13 09:56:27 -04:00
2015-09-15 17:11:36 -04:00
2016-06-29 14:51:24 -04:00

Plots

Build Status Join the chat at https://gitter.im/tbreloff/Plots.jl

Author: Thomas Breloff (@tbreloff)

Plots is a plotting API and toolset. My goals with the package are:

  • Powerful. Do more with less. Complex visualizations become easy.
  • Intuitive. Stop reading so much documentation. Commands should "just work".
  • Concise. Less code means fewer mistakes and more efficient development/analysis.
  • Flexible. Produce your favorite plots from your favorite package, but quicker and simpler.
  • Consistent. Don't commit to one graphics package, use the same code everywhere.
  • Lightweight. Very few dependencies.
  • Smart. Attempts to figure out what you want it to do... not just what you tell it.

View the full documentation.

Description
Powerful convenience for Julia visualizations and data analysis
Readme 114 MiB
Languages
Julia 99.9%
Shell 0.1%