Преглед изворни кода

Changed xkcd example to show a the plot instead of saving an image.

Benno Evers пре 7 година
родитељ
комит
12923d7039
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/xkcd.cpp

+ 1 - 1
examples/xkcd.cpp

@@ -16,6 +16,6 @@ int main() {
     plt::xkcd();
     plt::plot(t, x);
     plt::title("AN ORDINARY SIN WAVE");
-    plt::save("xkcd.png");
+    plt::show();
 }