Preview of a plott

#1

Hello Dynos,

can i something like plotting? in Dynamo, maybe to make preview of a graph?

import numpy as np
import matplotlib.pyplot as plt

v0 = 0.2
a = 2
n = 21 # No of t values for plotting

t = np.linspace(0, 2, n+1)
s = v0t + 0.5a*t**2

plt.plot(t, s)
plt.savefig(‘myplot.png’)
plt.show()

KR

Andreas

0 Likes

#3

@Draxl_Andreas did you mean something like this? NodeModelCharts - An open source custom UI node library for visualizing data within a Dynamo graph

2 Likes

#4

yes, i do some simple graphs with dynamo

0 Likes

#5

Try out the node model charts then. I know @alfarok was looking for feedback so be sure to let us know how they work out for you. :slight_smile:

1 Like

#6

@Draxl_Andreas something like this?

3 Likes

#7

Exactly… I didn`t have success, thank you for your help!

1 Like