Skip to content

slevin48/plotdeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotdeploy

Deploy plot through a simple URL

plotdeploy.png

Prerequisites:

  • Git installed on your PC
  • Heroku account with Heroku CLI installed on your PC
  • Make sure you have both heroku and git accessible in your PATH

Setup:

  • Login to heroku

    $ heroku login

  • Create an app

    $ heroku create

(keep the app name to deploy your plot)

You can alternatively create the app from the Heroku website: herokuapp.png

Demo

In this simple demonstration, we deploy a Scilab plot on a simple URL:

x=[0:0.1:2*%pi];
y=2*sin(x);
plot(x,y)
f=gcf();
herokuapp=fast-crag-81914
plotdeploy(f,herokuapp)

demoplotdeploy.png

You simply need to replace the name of your heroku app to replicate it.

Resources:

About

Deploy plot through a simple URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published