Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active December 2, 2018 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjunichi/03f465895dd58667ccfecd60883ba674 to your computer and use it in GitHub Desktop.
Save kjunichi/03f465895dd58667ccfecd60883ba674 to your computer and use it in GitHub Desktop.
Julia言語

ffmpeg

;conda install -c conda-forge ffmpeg

Animation

IOPub data rate exceeded

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
/app/user/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/axes/_base.py:2918: UserWarning: Attempting to set identical left==right results
in singular transformations; automatically expanding.
left=-0.5, right=-0.5
  'left=%s, right=%s') % (left, right))
/app/user/.julia/v0.6/Conda/deps/usr/lib/python2.7/site-packages/matplotlib/axes/_base.py:3239: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=-0.5, top=-0.5
  'bottom=%s, top=%s') % (bottom, top))

散布図をGadflyで書く

data=[
    1 21;
    2 21;
    2 22;
    2 23;
    3 2;
    3 16;
    3 18;
    3 23;
    3 30;
    3 31;
    4 3;
    4 4;
    4 7;
    4 11;
    4 15;
    4 16;
    4 17;
    4 22;
    4 28;
]
using Gadfly
plot(x=data[:,1],y=data[:,2])

関連記事

関連投稿

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment