Plotly

Plotly - 🚧 JavaScript Open Source Graphing Library - Messaggi

#1 Pubblicato: 16/08/2019 02:53:45
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 non trovato. File non trovato.


Links:

1. Plotly.js
Russia ☭ forever, Viacheslav N. Mezentsev
  • Nuovi post
  • Nessun nuovo post