Forrest Sheng Bao <http://forrest.bao.googlepages.com>
This morning I found that my Octave can't plot, like this
octave:1> plot(0:10,sin(0:10))
octave:2> Expected X11 driver: /usr/lib/gnuplot/gnuplot_x11
Exec failed: No such file or directory
See 'help x11' for more details
Since Octave actually called gnuplot to plot diagrams, I tried gnuplot
gnuplot> test
No pop-up X11 window but only output on the shell as ASCII text. Arrgh, how could this happen?
Then I tried a script programmed by myself
forrest@flavia:/forrest/work/ee/ad_hoc/wang/plots$ gnuplot plot3.gp
*** X11 output driver not found, switching to dumb terminal!
*** If you want to use the X11 output, please install the gnuplot-x11 package
Oh, I found the problem. Who removed my gnuplot-x11 package? So, I used apt-get to install it again and everything is OK.
2007-02-18
2007-02-08
R X11 fonts problem on Ubuntu
Forrest Sheng Bao < http://forrest.bao.googlepages.com >
I installed R via apt-get on Ubuntu 6.10. But when I want to plot something, I got the error like this:
forrest@flavia:~$ R
> x<-rnorm(50) > y<-rnorm(50) > plot(x, y)
Error in X11() : could not find any X11 fonts
Check that the Font Path is correct.
After a few minutes of Googling, I found that it is because my default font is UTF8 of US. If I set another font, it will be ok. So you can start R like this
$ LANG=C R
I installed R via apt-get on Ubuntu 6.10. But when I want to plot something, I got the error like this:
forrest@flavia:~$ R
> x<-rnorm(50) > y<-rnorm(50) > plot(x, y)
Error in X11() : could not find any X11 fonts
Check that the Font Path is correct.
After a few minutes of Googling, I found that it is because my default font is UTF8 of US. If I set another font, it will be ok. So you can start R like this
$ LANG=C R
moving a downloading file "gracefully" on FF and GNOME
Forrest Sheng Bao <http://forrest.bao.googlepages.com>
Funny, today I was downloading a file via "Save Link as" in Firefox. Later I came into the directory where the file was saved and used Ctrl + C - Ctrl + V to move it to another directory. After I pasted it in the new location, I thought that the downloading process may malfunction or interrupted by moving that downloading file. To my surprise, the downloading still worked fine and the file in new location was continually increasing its size.
Ah, is this the new function of Gnome Nautilus or Mozilla Firefox?
Funny, today I was downloading a file via "Save Link as" in Firefox. Later I came into the directory where the file was saved and used Ctrl + C - Ctrl + V to move it to another directory. After I pasted it in the new location, I thought that the downloading process may malfunction or interrupted by moving that downloading file. To my surprise, the downloading still worked fine and the file in new location was continually increasing its size.
Ah, is this the new function of Gnome Nautilus or Mozilla Firefox?
Subscribe to:
Posts (Atom)