My favorite is to use IJulia + Gadfly, which renders SVG plots inline in
the IJulia notebook frontend in the browser. Partly this is because it's
pretty and partly it's because it doesn't require getting incredibly
finicky image libraries to work.


On Fri, Dec 20, 2013 at 4:52 PM, Chris Wray <[email protected]> wrote:

> Thanks, yes seen those. Just wondered if I was missing a Julia base "hist"
> equivalent. Guess not! Thanks
>
>
> On Friday, December 20, 2013 5:58:47 PM UTC, James Porter wrote:
>>
>> Right now there is no "standard" plotting library (in the sense that
>> there none have yet been blessed by the core team and included as a part of
>> Julia itself). However, Winston and Gadfly are both great options. All you
>> have to do is Pkg.add("Winston") or Pkg.add("Gadfly"), depending on
>> which you want to use, and you should be good to go. The docs for each are
>> http://winston.readthedocs.org/en/latest/index.html and
>> http://dcjones.github.io/Gadfly.jl/ 
>> respectively<http://dcjones.github.io/Gadfly.jl/>
>> .
>>
>> There has been some discussion of adding some standard packages (e.g.
>> plotting stuff) to the bast Julia distribution, follow along here:
>> https://github.com/JuliaLang/julia/issues/1906
>>
>>
>> On Friday, December 20, 2013 7:47:49 AM UTC-6, Chris Wray wrote:
>>>
>>> Hi - I've been experimenting with Julia for the last week, on and off.
>>> I'm an experienced R user, and get by with C++, java, python, etc.
>>>
>>> Wanted to say fantastic effort - really enjoying Julia.
>>> To get to grips with Julia I looked at porting some simulation stuff I
>>> had in R/C++ into Julia.
>>>
>>> Everything went well, except the graphics.
>>>
>>> As any experienced R user would likely do initially..I got some data:
>>>
>>> *data=Rmath.rnorm(1000,0,1)*
>>>
>>> and would like to chuck up a basic histogram (as in R):
>>>
>>> *hist(data)*
>>>
>>> From my incomplete readings, I could not tell if there is a "standard"
>>> graphics platform (Winston, Gadfly, etc).
>>>
>>> After numerous things did not work, I ended up using Plot.ly - via
>>> Julia, which although effortless, leaves me feeling I've missed something
>>> "native" to Base Julia, or perhaps an easier way to do this via another
>>> module?
>>>
>>> Is there a standard "benchmark" way to chuck up a histogram, something
>>> that I've missed?
>>> Thanks, chris
>>>
>>>

Reply via email to