Ask Your Question

Shaowei_Sun's profile - activity

2020-12-17 22:27:51 +0200 received badge  Student (source)
2020-01-10 07:25:58 +0200 received badge  Popular Question (source)
2013-10-28 23:14:47 +0200 asked a question How to plot a R graph directly in Sage

I want to plot the graph using r language in Sage. And when I put this code:

sage: png(file="myplot.png", bg="transparent")
sage: plot(1:10)
sage: rect(1, 5, 3, 7, col="white")
sage: dev.off()

It works, but I have to click to see the graph in a new page. What I want is to see the graph directly without clicking.