creating graphics from file
Hello, is there an application that can read a file with x-y values and then create a graphic as a jpg 2d image (or other image format) as output?
The file would be like this: Code:
Person - Posts |
I think you need to define your desired output a bit more clearly. I really don't understand what you want at this point. By "graphic" do you mean a graph? What kind of graph? How should the data be displayed?
|
Gnuplot
jlinkels |
A spreadsheet program typically has plotting capabilities----something like OpenOffice calc will open most ordered files.
|
Quote:
|
Quote:
|
You can use gnuplot to produce a bar graph & use the jpeg output driver. You may want to produce a file containing the data in a form gnu plot expects, write a gnuplot script that will use this datafile and create the jpeg graph, and then call: gnuplot <your_gnu_plot_script>.
From the info file: Code:
Examples: Other options could be using postscript or latex graphic commands. There is a gnuplottex version of latex, but I don't know if you can produce jpeg files from the results. There is also the plotutils package including the plot command. They can produce ps, png or psuedo-gif files as output which you could convert easily to jpeg. From the plot info manual: Code:
To produce a PNG file, you would do |
Quote:
|
Quote:
|
Code:
NAME convert <pngfilename> <jpegfilename> or more generally: convert $pngfile ${pngfile%.png}.jpg the plot and gnuplot programs may have documentation in your /usr/share/doc/ directory. I have html & pdf documentation. The pdf file is about 200 pages long. |
Quote:
|
Use your package manager to install ImageMagick. Only extremely small pendrive based distro's won't have it. The package will also install the documentation. The manpages for each ImageMagick program contain a link to documentation on their site:
file:///usr/share/doc/ImageMagick-6.4.3/www/convert.html or http://www.imagemagick.org/script/convert.php. Your documentation may be in /usr/share/doc/packages/ImageMagick/ if you have SuSE Linux. |
Quote:
|
how can I rotate the x label tags
Hello, I make this script for creating a bar chart:
set encoding iso_8859_1 Code:
set terminal postscript color |
Yes you can.
Follow this link: http://www.gnuplot.info/docs/node193.html All those pages together comprise a wonderful object which is commonly referred to as a manual. jlinkels |
All times are GMT -5. The time now is 03:12 AM. |