-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
118 additions
and
42 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# interactive-plot | ||
interactive-plot | ||
================ | ||
|
||
Simple terminal interactive plotter. | ||
|
||
Todo | ||
---- | ||
|
||
* Display controls on-screen | ||
* Allow for changing of plot dynamically |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import Data.Default | ||
import Interactive.Plot | ||
|
||
cosTest, lineTest :: AutoSeries | ||
cosTest = funcSeries cos (enumRange 100 (R (-5) 5)) mempty | ||
lineTest = funcSeries id (enumRange 20 (R (-4) 4)) mempty | ||
|
||
main :: IO () | ||
main = runPlotAuto def [cosTest, lineTest] | ||
main = runPlotAuto defaultPlotOpts [cosTest, lineTest] | ||
|
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
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
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