简体   繁体   English

如何在原子编辑器中显示 julia Gadfly plot?

[英]how to display julia Gadfly plot in atom editor?

using Gadfly 
xvalues = rand(1000);
yvalues = rand(1000);
Gadfly.plot(x=xvalues,y=xvalues,Geom.point,Geom.line)

I am trying make a plot using julia Gadfly package in the atom editor.我正在尝试在原子编辑器中使用 julia Gadfly package 制作 plot 。 it does display any plot in the plot panel它确实在 plot 面板中显示任何 plot

This should have been fixed by GiovineItalia/Gadfly.jl/pull/1373 (in Gadfly v1.2).这应该由GiovineItalia/Gadfly.jl/pull/1373 (在 Gadfly v1.2 中)修复。 What version of Gadfly do you have?:你有什么版本的牛虻?:

julia> ]st Gadfly

If you have an older version, try doing popdisplay() , and redoing the plot.如果您有旧版本,请尝试执行popdisplay()做 plot。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM