# Mathematica Semilog (LogLinearPlot) using x,y points from table [duplicate]

I am trying to use the LogLinearPlot in Mathematica 9 to create an x-axis only logarithmic plot that looks like this (Based on N^1.85 graphing paper) http://pingfire.com/

What it does is model a curve for theoretical residual pressures and their corresponding expected flow rates in gallons per minute (based on exponential friction loss in water moving through piping), but the graph paper displays this in a straight line format that is easier to interpret values from.

It appears that LogLinearPlot is what I am looking for, but the samples show it using a function of x, not a list of x,y points. How do I plug in a table of x,y points into the LogLinearPlot function?

Here is an example from pingfire.com showing the straight line I'm trying to get from two points (Static pressure which is x,y of 0,80 and residual pressure which is x,y of 900,40)

http://i.imgur.com/iYUcRrh.png

Using that image, you can interpolate what the pressure/flow will be at any gpm on the graph (100 to 1000), for example, 31 pressure at 1000 gpm (the end of the graph)

## marked as duplicate by bobthechemist, Dr. belisarius, m_goldberg, István Zachar, rm -rf♦Jan 30 '14 at 17:25

• ListLogLinearPlot... – ciao Jan 29 '14 at 19:54
• reference.wolfram.com/mathematica/ref/ListLogLinearPlot.html these appear not to be straight lines – user3111684 Jan 29 '14 at 19:55
• ListLogLinearPlot[Table[{0, 80}, {900, 40}], Joined -> True] does not seem to be working?? – user3111684 Jan 29 '14 at 19:59
• ListLogLinearPlot[Table[{0, 80}, {900, 40}], Joined -> True] doesn't work for two reasons: the Table syntax is nonsense (refer to the documentation), and in a loglinear plot you can't have zeros. – Sjoerd C. de Vries Jan 29 '14 at 23:44
• To the closers: most of the answers are easily found in the documentation, but using a different log base in plotting is not. – Sjoerd C. de Vries Jan 30 '14 at 6:33

ListLogLinearPlot[Table[{x, Log[x]}, {x, 1, 100}], Joined -> True] 