8000 GitHub - ktye/plotjs: plot.js
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ktye/plotjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

plots:{
 title="",
 equal:false,                             // equal axis limits for all plots
 colors:["#123","#456"],                  // color cycle 
 cols:-2,                                 // plots per row, negative: column major order
 font1:"12px monospace",                  // title/axis font (canvas syntax)
 font2:"10px monospace",                  // tic font
 fullscreen:2,                            // fullscreen index (toggle with dblclick)
 plots:[plot,plot,plot],
 table:table,
}

plot:{
 type:"xy",                               // xy|polar|ring|ampang|raster
 limits:[xmin,xmax,ymin,ymax,zmin,zmax],
 xlabel:"",ylabel:"",title:"",
 lines:[line,line]
}


line:{
 x:[1,2,3],
 y:[4,5,6],
 z:[4,5,6],                               // imag for plot.type polar|ampang
 id:1,                                    // id for table-link and color index, default i
 style:"-",                               // -|.|-.                             default .polar -else
 size:1                                   //                                    default ..
}

table:{
 text:"abc\ndef",
 columns:[column,column],
 colors:[0,1]                             // index into
}

column:{
 name:"title",
 unit:"µm",
 rows:["1.23","4.56","7.89"]
}


About

plot.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0