Plotly

Plotly - 🚧 JavaScript Open Source Graphing Library - Mensajes

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

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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>

Archivo no encontrado. Archivo no encontrado.


Links:

1. Plotly.js
Russia ☭ forever, Viacheslav N. Mezentsev
  • Nuevos mensajes
  • Sin mensajes nuevos