hi,(adsbygoogle = window.adsbygoogle || []).push({});

i new to using the gnuplot program.

I am trying to create a graph which will calculate the frequency for the range of values in a given column, and plot it as a histogram

x-axis being range

y-axis being frequency

I have created it using excel...but couldnt not figure it out in gunplot.

Heres an example of how my file looks:

id1 id2 value1 value2

-------------------------------

a b 0.01 0.03

a2 c 0.05 0.06

a3 d 0.1 0.13

a4 e 0.12 0.14

.

.

a26 z 1.5 1.4

so if i want to plot the values in column4(Value2)

i have to first compile a table showing the range and frequency:

range frequency

------------------------------

0 - 0.1 3

0.1 - 0.2 6

0.2 - 0. 3 5

etc

how would you compile such info from Value2 column using gnuplot?

Once i get it to the above format...i know how to graph it.

I have an enourmous number of such files...and exporting each one to Excel and graphing...is a very painful and time consuming process.

Please help with your suggestions.

thanks

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Gnuplot program graph

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads for Gnuplot program graph | Date |
---|---|

Help installing old programs onto new a Win 10 computer | Apr 12, 2018 |

UNIX/PuTTY and Gnuplots | Sep 9, 2011 |

Can't get gnuplot to work on mac | Oct 30, 2007 |

Gnuplot and adding function name to legend | Feb 2, 2007 |

**Physics Forums - The Fusion of Science and Community**