Skip to content

Conversation

@cjfuller
Copy link
Member

This is a bit of code that lets you make a scatter plot with sensible defaults in as little code as:

x = [0,1,2,3]
y = [0,1,4,9]
Plotrb::Simple.scatter(x,y)

Hash keyword args are also available to customize some of the plot style.

zuhao added a commit that referenced this pull request Sep 29, 2013
added simplified method for making a 2D scatter plot
@zuhao zuhao merged commit 15bfbed into SciRuby:master Sep 29, 2013
@zuhao
Copy link

zuhao commented Sep 29, 2013

Thanks @cjfuller! Very clever to make it short and sweet. 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants