浏览代码

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();
 }