Interpolating Between Lines: Techniques for Finding Y-Values on a Graph

Click For Summary

Homework Help Overview

The discussion revolves around interpolation techniques for finding y-values on a graph, specifically in the context of a nonlinear relationship between curve labels and their positions. The original poster describes a scenario where they need to interpolate between curves based on given x and y values, with a particular focus on logarithmic representation of y.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • Participants explore various methods for interpolation, including curve fitting and analyzing the relationship between x and y values. Questions arise regarding the specific goals of the interpolation, such as whether to find curve labels from given coordinates or vice versa.

Discussion Status

Participants are actively discussing different approaches to the problem, with some suggesting methods for curve fitting and others emphasizing the nonlinear nature of the relationships involved. There is no explicit consensus, but several productive directions have been proposed for further exploration.

Contextual Notes

The original poster notes a lack of additional information beyond the calculated x and y values, which may impact the interpolation process. The logarithmic nature of the y-values is also a key consideration in the discussion.

musk
Messages
14
Reaction score
0
Hi there.
I have a problem regarding interpolation between lines. I have to say that I have never done it before and I can't find relevant info on the internet, so I am asking for your help. the graph in question can be found here:

http://s9.postimage.org/kmj94nexb/physicsforum.png


I do not have any other info other than the X and Y value that I calculate beforehand. When I insert them on the diagram I get a point and if it falls on one of the curves already on the graph, then it's all OK, I read the value of the curve and can proceed with my calculations. Otherwise, I have to interpolate somehow, so the only info I would have is that point I get from the intersection of X and Y, which has to be part of the new (interpolated) curve.

For example I have curves 0,8 and 0,9 and I want to get 0,86. I also have to take into consideration the fact that Y is expressed as log.

I hope I explained it well enough...thank you.
 
Physics news on Phys.org
I'm not quite sure which way you're trying to use the graph. Are you trying to find the curve label from x and y, or an x value given a curve and y? Or maybe you want to do all three ways?
Whichever, looks to me that the awkward part is the very nonlinear relationship between curve label and curve position. You will need to find a formula that approximates this. I would turn the dataset around so that I have one curve corresponding to each vertical grating line on your graph, with the y values being the curve labels on your graph. Then run some sort of curve fitting to see if I could find a formula.
 
What you have is essentially a 2-D representation of a 3-D surface.
One way to approach you problem is to read values of y for constant x at each of the level curves on your original graph. Then, you can draw a graph of y versus the values of the level curves. Enter this second graph with the value of the level curve desired (the 0.86 value from your OP) and determine the y value you desire.
 
SteamKing said:
What you have is essentially a 2-D representation of a 3-D surface.
One way to approach you problem is to read values of y for constant x at each of the level curves on your original graph. Then, you can draw a graph of y versus the values of the level curves. Enter this second graph with the value of the level curve desired (the 0.86 value from your OP) and determine the y value you desire.
As I said, the behaviour as a function of curve label is highly nonlinear. I would say the curve spacing is too great for a simple linear interpolation.
 
Once you have a curve at constant x, then you can evaluate which method would work best to find the y-value for a particular level surface value.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 65 ·
3
Replies
65
Views
9K
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
4K