Plotly

Plotly - 🚧 JavaScript Open Source Graphing Library - Messages

#1 Posted: 8/16/2019 2:53:45 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1,408 likes in 1,710 posts.

Group: Moderator

Plotly [ β ]

SMath Studio compatibility SMath Viewer compatibility mono compatibility Extension page Sources


Proof of concept.

index.html page is used to draw the graph (see plugin's folder). Now you only need to create a script for plotting.

<html>
<head>
    <meta http-equiv="x-ua-compatible" content="IE=edge" />
	<script src="plotly-latest.min.js"></script>
</head>
<div id="tester" style="width:320pt;height:240pt;"></div>
<script>
	TESTER = document.getElementById('tester';
	Plotly.plot( TESTER, [{
	x: [1, 2, 3, 4, 5],
	y: [1, 2, 4, 8, 16] }], {
	margin: { t: 0, l:0 } } );
</script>
<body>
</body>
</html>

File not found. File not found.


Links:

1. Plotly.js
Russia ☭ forever, Viacheslav N. Mezentsev
  • New Posts New Posts
  • No New Posts No New Posts