Skip to content

Commit 12923d7

Browse files
author
Benno Evers
committed
Changed xkcd example to show a the plot instead of saving an image.
1 parent 660b7f3 commit 12923d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/xkcd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ int main() {
1616
plt::xkcd();
1717
plt::plot(t, x);
1818
plt::title("AN ORDINARY SIN WAVE");
19-
plt::save("xkcd.png");
19+
plt::show();
2020
}
2121

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy