- the nouveau graphics driver was not handling the graphics card very well (hangs when using the DRM after putting the computer to sleep once, garbage screen on various apps, slow 3D rendering), and I could never get the proprietary nvidia drivers to work (would give blank screen at boot time)
- very unstable wireless (at least with my box home, but not with all the ones I've tried)
- and the most painful was the need to recompile the kernel by hand, with the following modifications from stock debian kernel:
-CONFIG_X86_SYSFB=y +# CONFIG_X86_SYSFB is not set -CONFIG_FB_SIMPLE=y +# CONFIG_FB_SIMPLE is not setWithout these modifications, the screen would be garbled some 5-6 seconds after boot (but SSH would still work, as far as I remember).
Monday, January 26, 2015
Friday, January 2, 2015
- patterned fills (shown on the right)
- loops in command files
- a CSS-like styling system (with full XPATH support)
- a backend for mathematical functions of two variables
- the possibility to hide elements that have been drawn before, useful for making animations using output-now for instance
- the possibility to have grid elements spanning two or more columns and/or rows
- many other improvements and bug-fixes
The new release is of course available using rubygems:
~ gem update ctioga2
It can also be downloaded from sourceforge.
The possibilities of the new styling system are particularly interesting, and I'm working on ways to make it more powerful, and providing series of default style files that anyone could use as they want. Among other future changes, I want to improve the position of ticks, especially when using non-linear axes, and add functions to draw vector fields (though this still needs some thinking). Enjoy, and a happy new year to everyone !
Thursday, December 19, 2013
ctioga2away from rubyforge, to sourceforge. Transition went smooth, git is now the only VCS. Code is hosted at sourceforge and mirrored at github.
ctioga2. I've recently implemented a decent support for histograms. It is already much more powerful than the one in the old
ctioga, but it is far from being feature-full. Here's a preview.
I'm slowly preparing a new release for
ctioga2, that would incorporate quite some fixes since the last time, and quite a few nice features in addition to the histograms. Stay tuned !
Saturday, October 12, 2013
After about 8 month, I must say I'm quite pleased with the beast. The retina display is very neat (a 2880x1800 resolution!), and it is pretty fast. There are two annoyances though:
- I never managed to get either the non-free NVIDIA drivers or the integrated intel graphics to work. The NVIDIA driver give blank screen on X startup, while it doesn't even start with the intel drivers (and I've tried all the tricks I could find around). The fine point is that I don't have any hardware 3D acceleration !
- The wireless network is pretty unstable.
Another point is the update of GRUB: Debian's post-install scripts don't play nice with the EFI setup, so here is what I have to do to update to a newer version of grub, (and it's also what I had to do initially to install GRUB):
# mount /dev/sda1 /mnt # grub-install --efi-directory=/mnt
/dev/sda1 partition is the so-called EFI partition. I think it is created by rEFIt and it is essentially empty.
Monday, October 7, 2013
ctioga2since my last post. Among the most interesting features,
- full windows support, including proper file types associations
- fill syntax as powerful as
- unclipped plot elements along with full control of the curves depth: in front of axes, behind background lines...
- control of symbol size through a Z axis
I've also started the gnuplot versus
ctioga2 gallery I was speaking about in my last post, where I try to reproduce most of gnuplot's examples using
ctioga2; it can be found here. While I don't like so much the look of the gnuplot graphs, and I try to keep the look of
ctioga2's as close as possible to that look, it proved invaluable in detecting small bugs, fixing small glitches and providing inspiration for new features.
In the meantime, my todo-list for
ctioga2 doesn't seem to get any smaller. Let's hope I'll implement them fast enough ! Keep posted...
Wednesday, September 4, 2013
So I dug in ImageMagick's convert documentation, and came up with the following code that converts the PDF file into a PNG with a transparent background:
convert -density 600 figure.pdf -channel alpha \ -fx '((r == 1 && g == 1 && b == 1) ? 0 : 1)' figure.png
There are still some few points that look white but are probably not that white (due to antialiased rendering of the PDF file ?). There are many more things that can be done using the
-fx operator, this page was helpful to me !
Edit: while the alpha channel seems to be on by default for PDF files, it is not necessarily the case for all images. If the above doesn't work, try adding
-alpha Set before the