Created
March 30, 2013 01:00
-
-
Save gusl/5274774 to your computer and use it in GitHub Desktop.
I am getting a bunch of errors when I call file. (process:29144): GLib-GObject-CRITICAL **: gpointer g_object_ref(gpointer): assertion `G_IS_OBJECT (object)' failed (process:29144): GLib-GObject-CRITICAL **: gpointer g_object_get_qdata(GObject *, GQuark): assertion `G_IS_OBJECT (object)' failed (process:29144): GLib-GObject-CRITICAL **: void g_o…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Winston | |
x = linspace( 0, 3pi, 100 ) | |
c = cos(x) | |
s = sin(x) | |
p = FramedPlot() | |
setattr(p, "title", "title!") | |
setattr(p, "xlabel", "\Sigma x^2_i") | |
setattr(p, "ylabel", "\Theta_i") | |
add(p, FillBetween(x, c, x, s) ) | |
add(p, Curve(x, c, "color", "red") ) | |
add(p, Curve(x, s, "color", "blue") ) | |
file(p, "example1.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment