Since using SVG plot were good enough for me, I moved ahead in the project 
I am doing to get familiar with Julia. Now I need to generate contour and 
other complex plot for which I am not sure Gadfly will be of much use. 
Hence I tried working with Gaston and is facing the same problem:

julia> Pkg.add("Gaston")






julia> 


INFO: Nothing to be done.




julia> using Gaston






julia> x=-pi:.001:pi; y=x.*sin(10./x); plot(x,y) #(plot x*sin(10/x))


plot not defined




julia> x=-pi:.001:pi; y=x.*sin(10./x); Gaston.plot(x,y) #(plot x*sin(10/x))


plot not defined




julia> 


What am I missing here?

On Monday, December 23, 2013 8:12:22 AM UTC-8, Stu Thompson wrote:
>
> Hi Laksh,
>
> Where you able to resolve your issue?  Or are you still having problems? 
>  In theory it could be something related to Julia Studio.  If so, my 
> colleague Kees and I would like to help you resolve it.
>
> Cheers,
>
> Stu
>
>
>
>
> Stu Thompson   /forio  |  +1 (415) 518 32 19  |  
> forio.com<http://www.forio.com/> 
>
>
>
> On Sat, Dec 21, 2013 at 7:09 AM, John Myles White 
> <[email protected]<javascript:>
> > wrote:
>
>> You haven’t installed Cairo yet it seems. Or at least Julia isn’t finding 
>> Cairo installed where it expects to find it.
>>
>>  — John
>>
>> On Dec 21, 2013, at 2:26 AM, Laksh Gupta <[email protected] <javascript:>> 
>> wrote:
>>
>> > Hi
>> >
>> > I am running 64 bit Julia Studio 0.4.3 on Windows 8. I installed Gadfly 
>> and Cairo but is still facing problems while trying to plot anything:
>> >
>> > julia> plot plot not defined
>> >
>> >
>> >  julia> Gadfly.plot
>> >  plot (generic function with 6 methods)
>> >
>> >
>> >  julia> Gadfly.plot(x=collect(1:100), y=sort(rand(100)))
>> >  Plot(...)
>> >
>> >
>> > julia> p = Gadfly.plot(x=collect(1:100), y=sort(rand(100)))
>> >
>> > Plot(...)
>> >
>> >
>> > julia> draw(PNG("plot.png", 6.5inch, 3inch), p)
>> >
>> > Cairo must be installed to use the PNG backend.
>> >
>> >
>> >
>> >
>> > julia> using Cairo
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > julia> draw(PNG("plot.png", 6.5inch, 3inch), p)
>> >
>> > Cairo must be installed to use the PNG backend.
>> >
>> >
>> > Any idea what am I missing here?
>> >
>> > Thanks,
>> > lg
>>
>>
>

Reply via email to