Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
adding historam docs
Browse files Browse the repository at this point in the history
  • Loading branch information
soumith committed Jan 22, 2015
1 parent 30d99ba commit 2787dfe
Show file tree
Hide file tree
Showing 3 changed files with 786 additions and 75 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -86,6 +86,19 @@ plot = Plot():quiver(U,V,'red',''):title('Quiver Plot Demo'):draw()
```
![screenshot](screenshots/quiver.png "")

```lua
-- quads/rectangles
x1=torch.randn(10)
y1=torch.randn(10)
plot = Plot():quad(x1,y1,x1+1,y1+1,'red',''):draw()
```

```lua
-- histogram
plot = Plot():histogram(torch.randn(10000)):draw()
```
![screenshot](screenshots/hist.png "")

## Requirements
iTorch requires or works with
* Mac OS X or Linux (tested in Ubuntu 14.04)
Expand Down
848 changes: 773 additions & 75 deletions iTorch_Demo.ipynb

Large diffs are not rendered by default.

Binary file added screenshots/hist.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2787dfe

Please sign in to comment.