Python Forum
Python I/O: input a graph - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python I/O: input a graph (/thread-27736.html)



Python I/O: input a graph - anata2047 - Jun-19-2020

I have been searching Python courses and libraries like numpy, pandas etc and didn't find the functionality required for my project.
What libraries/tools can be used to input a graph (mapped on X and Y axes) and output it to a hardware port?
It is a time-series looking graph, though formally is not a time series.

I've found some open-source software for Linux which may contain necessary data for input, yet didn't have
time to research it. Are there any translation tools to translate some of it's code to Python, if it would
be based on C/C++?


RE: Python I/O: input a graph - buran - Jun-19-2020

there are plenty of packages like matplotlib, seaborn, plotly.
Not sure what exactly "output it to a hardware port" should mean...


RE: Python I/O: input a graph - anata2047 - Jun-19-2020

In general python data science tutorials I've became familiar with the graphs were output to a display (a monitor) having numeric data as input. Do you mean that these libraries can provide the possibility to have a graph as input (like provide the possibility to enter the scales and values of X, Y axes and the graph itself)?


RE: Python I/O: input a graph - buran - Jun-19-2020

of course you can customize the graph. What do you mean "and the graph itself" is unclear.
Can you elaborate on your goal in greater detail, because I doubt anyone understands what your goal is. Especially when add the c/c++ part of the original post


RE: Python I/O: input a graph - deanhystad - Jun-19-2020

Are you looking for a digitizer that takes in pixel data and produces a list of x,y coordinates? Or are you looking for some sort of serialized graph representation that contains all the information you need to reproduce the graph?