Wednesday 15 February 2012

gnuplot - Drawing gant-like diagram from file in C with boxes and axis -


I am the programming system in C and I would like to represent the data generated in rectangles in 2D plain with volume x and y (Scheduling problems). It should look like a gantt chart. Information is given in the text file. I do not need any fantasy yet "Colors ending in X = 5, Y = 3, X = 7, Y = 5, in color red" something like a box " Should support and I would like to create an image of any size.

Is there a good experience for any of your devices that can be used to generate such images from the command line Can ( From some files, maybe every line in the color XY XY format)?

So far, I see gnuplot as a viable solution.

Check GraphViz, in particular the dot actually wants the graph layout, but if the memory works well you can confirm it You can put it in the box in position. You can use dot from the command line Or plug in your API.

Or, you can consider writing SVG directly, it's just text - but does it work for you, depending on the last part depends on. Graphic in. Most browsers now have the proper removal of SVG in the proper execution.

In addition, you can see any of ImageMagic, Disneylin, Cairo or other graphics libraries.

So, GNUPlot is not possible to go a long way.


No comments:

Post a Comment