Giter Club home page Giter Club logo

ftsplot's Issues

Using as a library?

Hi. First, thanks for this really nice plotting soft.
I think it would be really interesting to use your code to plot timeseries from python or C program without having to go manually through all the mess of file formatting, etc. I mean a C/python API where you just enter ftsplot(x,y1,y2,y3,...) and its handles the files creation and processing in a temporary folder and plots the result.
I can do the python interface, but I would just need a "API" to hook at with the following features:

  • FtsPrep: given a file, process it in headless mode, return the path of the corresponding resulting config file
  • FtsPlot:
    • given a flat file of events or intervals & a folder, import the flat file into the folder
    • given a list of timeseries config files and events folders, open a windows with the corresponding plots

Do you think it would be time consuming to create those three functions? I dive into the code but I do not know anything about QT. Additionally it would be nice if we could set up the colors of the plot.

If you could provide me with those functions, I could make a python package which could greatly improve ease of use of your library.
Thanks

Can't build FTSPlot on Ubuntu 16.04

I cannot build FTSPlot using the instructions in your README on Ubuntu 16.04. A number of build targets fail for me with with a linker error similar to this:

/usr/bin/ld: CMakeFiles/FTSPlot.dir/FTSPlotMain.cpp.o: undefined reference to symbol 'XInitThreads'
//usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/FTSPlot.dir/build.make:165: recipe for target 'FTSPlot' failed
make[2]: *** [FTSPlot] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/FTSPlot.dir/all' failed
make[1]: *** [CMakeFiles/FTSPlot.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

If I manually edit the link.txt files to include -lX11 then FTSPlot builds correctly.

I'm not familiar enough with CMake or Qt to fix this in the CMakeLists.txt file itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.