Free or cheap app for log plots

Click For Summary

Discussion Overview

The discussion revolves around finding a suitable free or inexpensive application for plotting logarithmic functions, specifically plotting log f(x) against log x. The context includes homework assistance and the challenges faced with existing graphing tools, particularly in handling varying step sizes over a wide range of values.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant expresses difficulty in plotting log f(x) against log x using various graphing apps, citing issues with step size control and the need to cover a wide range of x values.
  • Another participant suggests using a spreadsheet application, noting that Excel has capabilities for log axis graphing.
  • It is proposed that a MATLAB clone, such as freemat.org, could be used to create log plots with simple code, although the specific implementation details are provided.
  • A later reply mentions that the original poster realized their plotting issues stemmed from incorrectly writing the function rather than step size problems, and they found a parametric plot worked in Wolfram Alpha, albeit with presentation limitations.

Areas of Agreement / Disagreement

Participants present multiple suggestions for applications and methods without reaching a consensus on a single best solution. The discussion reflects a variety of approaches and tools, indicating that no one solution is universally accepted.

Contextual Notes

Participants noted limitations in their current graphing tools, particularly regarding step size control and the presentation of plots. There are unresolved issues related to the specific requirements of the homework problem and the effectiveness of the suggested tools.

epenguin
Science Advisor
Messages
3,638
Reaction score
1,014
Trying to complete some homework help I got a bit stuck on an elementary or common problem that was always a bit difficult.

I have a function f(x) and just want to plot log f(x) against log x. This is common in chemistry and biochemistry. It should have been easy. :redface:

I have picked up several graphing apps but they would not do it.

In the past when I occasionally needed to do this I managed with making variable 10^x or 10^-x and ugly acrobatics. It would be better to do it by a Parametric plot, and have x = log u, y = log f(u).

Whichever way you do it the trouble is the great variation in the step size. At least I think that is why it is not working. I think I may have got away with it earlier because there was not such variation of x as in my present problem, but now I need to cover at least five orders of magnitude. I think what is happening is my apps are graphing me from log x = 0 to -2 but then the whole range from -2.5 to -6 is smaller than a single step. If I made the step size small enough for that range, then it would take for ever to cover the larger range.

Anyway with the apps I have it is difficult or impossible to control the step size.
I have Free Graphing Calculator by William Jockusch. This does have parametric plotting and does havestep size control - which I found once and can't find again :headbang: Nice colours. Can only do four graphs but that is okay.
Have Quick Graph. More colours, more graphs, better memory, but does not have parametric that I can see.
Have a Wolfram Alpha app,, I did manage to plot the function using the 10^-x wheeze and it looks exactly as I predict, but has no nice graphics, and I wanted to put two simple (asymptote) lines on it, don't know how and saving is awkward. Did not manage to get Wolfram Alpha log plots or parametric to work at all.

Can you recommend anything? Simple to use, I really don't want to spend much time mastering complicated instructions - or lack of instructions! For the moment this is just for one homework question answer, so can't spend much time, though it will be useful in the future
 
Physics news on Phys.org
What about a spreadsheet app?
 
Spread sheet ?

Excel has log axis graphing capability . Others probably do as well .
 
You could also look for a MATLAB clone like freemat.org with a few lines of code get a log plot

Matlab:
x=[0:0.1:10]
y=log(x.*x)  
plot(x,y)

the log function is a natural log (ie log(e) = 1) and the [0:0.1:10] creates an x array from 0 to 10 in steps of 0.1 and x.*x multiplies each element with itself to get ##x^2##
 
jedishrfu said:
You could also look for a MATLAB clone like freemat.org with a few lines of code get a log plot
That should be http://freemat.sourceforge.net/
 
  • Like
Likes   Reactions: jedishrfu
Thank you all for the advice - I shall look at those when I am more on top of my computer than at this moment.
It is for the moment not necessary after all. I was continually getting graphs for a simple problem that just weren't working out as they were supposed to, and I started explaining it to myself as a problems of step size. In fact it was not due to any such subtleties, I was just not writing the function right on the plotter. In fact after all the best way plot f(y) as function of log y is to let log y = x and plot f(10x) against x. So that simple thing was sorted #8 .

I had actually found that a parametric plot worked for me in Wolfram Alpha, but the figures are not very presentable, so I may be looking for parametric plotter later.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K