Plotly

Plotly - 🚧 JavaScript Open Source Graphing Library - Сообщения

#1 Опубликовано: 16.08.2019 02:53:45
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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>

Файл не найден. Файл не найден.


Links:

1. Plotly.js
Russia ☭ forever, Viacheslav N. Mezentsev
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений