# 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, R. M.♦Jan 30 '14 at 17:25

This question was marked as an exact duplicate of an existing question.

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

See, e.g.:

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


-
what about the N^1.85 part? is there a way to specify the log base as being 1.85? – user3111684 Jan 29 '14 at 20:14
also how do you add the y coordinates? – user3111684 Jan 29 '14 at 20:16
@user3111684: Please update your OP with the code you're trying, and the result. This is not a "do my work for me" site, it is a place to get help with attempts/problems/issues with implementing things in MM. – ciao Jan 29 '14 at 20:24
I didn't ask you to do it for me, I asked how. Instructions, not pictures. This is a question and answer site, not a question and complain about the question site. – user3111684 Jan 29 '14 at 20:48
@user3111684:MM has excellent and copious documentation. Refer to it, make an attempt, and if you still have problems post the code and results. – ciao Jan 29 '14 at 20:50