Created
July 3, 2017 18:29
-
-
Save jzstark/72b847832222259e04ac9d4aeda24dd8 to your computer and use it in GitHub Desktop.
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
(*example*) | |
(*Add logscale: Add xlogscale and ylogscale properties to a page; | |
The logdata still needs to be precomputed.*) | |
let x = Mat.logspace (-1.) 2. 10 in | |
let y = Mat.map Maths.exp x in | |
let z = Mat.log10 y in | |
let h = create "log4.pdf" in | |
let _ = scatter ~h ~color:(255,0,0)~marker:"#[0x2299]" ~marker_size:8. x z in | |
let _ = legend_on h ~position:SouthEast [|"sigmoid"|] in | |
output h;; | |
(*using a modified version of ouput. logplot to be presented soon*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment