Skip to content

Object oriented approach to plot.ly #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
Closed

Object oriented approach to plot.ly #8

wants to merge 15 commits into from

Conversation

okomarov
Copy link

All changes are in the additional \oo folder.

Overview

The session is stored in the state of the object and the Matlab plotting functions are implemented as overloaded methods.

The syntax

pl = plotly('olegkoma','mykey');
plot(pl, usual matlab syntax for plot)

Advantages

Seamless integration of the plotly API.

The signup is prompted on first call of plotly(), and credentials are saved at the end (also prompted). Successive calls of pl = plotly(), will automatically load credentials.

Signup() and savecredentials() are also available externally to the object, so that you can create other profiles and overwrite existing saved credentials.

Useful commits to main proj

Apart from specific object oriented implementations, the first 3 commits fix some path handling for windows systems, getuserdir() for win retrieves %APPDATA% (safer) and prompts are implemented for signup (for username, email, and for saving credentials).

okomarov added 15 commits May 18, 2014 12:48
Updating forked repo
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Print on screen some feedback to user.

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
@chriddyp chriddyp mentioned this pull request Jun 11, 2014
Closed
@okomarov okomarov closed this Jun 19, 2014
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.

1 participant