Hi
I suppose my question is rather simple, but I’m stuck at this point.
I am trying to create a plot (scatter or line, both is fine) where I have two y-axis on the same x-axis.
If have found this example, that solves it: https://matplotlib.org/gallery/api/two_scales.html
I would like to arrange my data the following way:
Time on x-axis (this is shared and moved to rowID, so shouldn’t be a problem.)
Torgue on y-axis 1
Temp on y-axis 2
The trick is, that I might have multiple datasets. So I have to plot several pairs in one plot.
I guess, I might have given too few informations to help me, but then please just ask, and I will supply (within the NDA’s of my company.)
Best regards
Bjarke
lisovyi
November 11, 2019, 3:31pm
2
Hi @BjarkePetersen ,
the idea is that you use this node to generate visualization (=view) in KNIME using python:
https://kni.me/n/nkxvHXZo2XWkCPUI
Here is a small example that splits the original matplotlib example into two components that mimic a real workflow- you have data first read out and processed and then the view gets the final data and builds up the plot:
https://kni.me/w/yY0kWH9Kdwveskl_
The Python View node has an associated view that displays the gnerated plot, see this section of the intro course on knime: https://www.knime.com/knime-introductory-course/chapter1/section4/data-visualization
Best,
Mischa
3 Likes
system
Closed
May 12, 2020, 3:31am
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.