Excel Graph Help: Plotting Experimental Data with Theoretical Model in One Graph

  • Thread starter Thread starter dRic2
  • Start date Start date
  • Tags Tags
    Excel Graph
Click For Summary

Discussion Overview

The discussion revolves around plotting experimental data alongside a theoretical model in Excel. Participants seek to understand how to represent discrete data points and a continuous function on the same graph.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant describes the need to plot experimental data as discrete points and a theoretical model as a continuous line.
  • Another participant suggests using the Scatter Plot option in Excel to achieve the desired graph format.
  • A different participant advises on formatting options for each data series, including setting marker options and line visibility.
  • A participant expresses uncertainty about how to use Marker Options in Excel.
  • One participant confirms they successfully implemented the suggestions and thanks others for their help.
  • Another participant humorously notes they initially used random numbers before applying the method to their actual data.

Areas of Agreement / Disagreement

Participants generally agree on the methods to plot the data, with no significant disagreement noted. The discussion appears to be resolved with successful implementation of the suggested techniques.

dRic2
Gold Member
Messages
887
Reaction score
225
I have a set of n point (x, y) of experimental data and a function y=f(x) which is the theoretical model. I want to plot them in the same graph and see the difference. My problem is that f(x) has to be a continuous line while my n point has be just dots. I need to get something like this:

gr.png


I don't know how to plot dots and line simultaneously. Can anybody help me?
 

Attachments

  • gr.png
    gr.png
    13.6 KB · Views: 560
Physics news on Phys.org
In the Excel "Insert" tab, try Scatter Plot, and choose what kind of lines you want to connect your dots with... :smile:
 
Yes you can format each data series individually, so use
"Marker Options = Automatic" and "Line Color = no line" for the recorded data, and
"Marker Options = No marker" for the function.
 
  • Like
Likes   Reactions: dRic2
How do I use Marker Options ? I'm not very good with excel
 
OK I did it. Thank you very much!
 
  • Like
Likes   Reactions: berkeman
wow that was quick ! I hope it looks as you wanted.
 
Ahahahah I tried with some random numbers. Now I'm going to do the real stuff ;)
 

Similar threads

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