it works, thanks!
On Wednesday, January 28, 2015 at 6:40:10 PM UTC-5, Avik Sengupta wrote:
>
> I believe you can do it this way:
>
> draw(PNG("hi_res.png", 1inch, 1inch, dpi=300), p)
>
> See here for more: https://github.com/dcjones/Compose.jl/pull/94
>
> You might have to run the latest master of Gadfly.. not sure this is in a
> released version of Gadfly yet.
> Run Pkg.checkout("Gadfly") to get the latest master. Pkg.free("Gadfly") to
> set it back to the released version.
>
>
>
> On Wednesday, 28 January 2015 23:35:01 UTC, Li Zhang wrote:
>>
>> Hi fellows,
>>
>> I just encounter a scenario that i want to set the DPI of PNG output of
>> gadfly plot.
>>
>> There seems no direct way to control what i want
>>
>> ```
>> draw(PNG(path, width, height))
>> ```
>>
>> Any one have experience or way to do this?
>>
>