Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline uni  
#1 Posted : 16 August 2019 08:53:45(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
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.

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


2019-08-16_11-13-35.png 2019-08-16_02-24-45.png


Links:

1. Plotly.js

Edited by user 25 August 2019 03:21:12(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.