[Gnuplot-info] Are you able to help me wit this task in Gnuplot From: Frank Richard Pettersen - 2006-03-24 13:08 ```I'm working with a project at school and are struggling with a task in=20 Gnuplot. I don't know if it's possible. I have an ASCII file with about 20 columns of numbers (one of those colum= ns=20 are barometric pressure) and there is no problem making a graph of any of= the=20 columns. The task I'm struggling with is how to include one of those colu= mns=20 in an equation, and get a graph. I will try to describe this by an exampl= e. One of the columns is some thousand samples of barometric pressure as a r= ocket=20 goes up. I'm getting a nice curve from those samples. I also have an equa= tion=20 which I may use to calculate the height from barometric pressure. How May= I=20 get Gnuplot to use this equation and the column from the ASCII file to gi= ve me=20 an altitude graph? Frank R. Pettersen ------------------------------------------------------------------------- Start.no tilbyr n=E5 raskere bredb=E5nd til lavere pris. Sjekk http://www.start.no/bredband/ for mer informasjon ```
 Re: [Gnuplot-info] Are you able to help me wit this task in Gnuplot From: - 2006-03-24 14:35 ```Frank Richard Pettersen wrote: > I have an ASCII file with about 20 columns of numbers (one of those columns > are barometric pressure) and there is no problem making a graph of any of the > columns. The task I'm struggling with is how to include one of those columns > in an equation, and get a graph. You don't include the column in an equation, you apply a function to the data before plotting them. Read "help using" attentively and you'll understand this example: plot 'data' using 1:(log(\$5/p0)*scale+h0) ```