How to plot the correlation of two Cells in a scatter plot - excel

Okay, I love to use excel to model my complex heat convection problem in a very visual way.
But now I want to compare the result for different input values. Is there a way to create a plot where x is my input variable (in a range i can decide) and y the result (which can be found in a different cell)?
I know, normally you would need to create a table that has all x values in one column and all y values are calculated in ONE STEP in an adjacent cell. But as my calculation is quite complex, this is not the case.
So in a very simplified way, this is how my excel looks like:
Simplified version of my problem
How would you create a scatter plot of such a relation?
I tried to google the problem, but I didn't find a similar question

Related

Excel scatterplot graph update automatically

My problem is as follows:
The user inputs two numbers between 2 and 25, these numbers are used to create a grid. Every point on the grid has (x,y) coordinates. Based on the amount of points the user chose, my excel sheet is filled up with up to 25x25 (x,y) coordinates.
Example: A 6x7 grid is chosen by the user, the table is filled with 42 (x,y) coordinates and all other values in the table are set to "".
Now I want to use a scatterplot with lines connecting each array to plot the data.
Problem 1: If I only select the 6x7 part of the table that has values in it and create the scatterplot the result is correct. Until the user specifies a different grid, for example 8x9, then the graph is obviously missing two rows and two columns of input data.
Problem 2: If I select the entire 25x25 part of the table, including all the "" values, the graph axes get messed up. The y-axis works properly, but the x-axis shows sequential values (0-7) instead of the x-coordinates.
Problem 3: If I replace all the "" values in the table to 0 or NaN and plot the entire table the axes are correct, but the lines between the scatter data get messed up.
Question:
Is there a way to automatically change the input data for the plot, or is there a way to correctly display the values on the x-axis if I select all the data?
Not sure this will work in your case, but it's worth a try, especially since no one's addressed your post in 3+ hours. I've had success with this approach: 1) charting the largest data set, 2) copying the resulting chart, and 3) trimming the data it draws from to produce all smaller data sets.
To get this to work takes a lot of thought in laying out that largest data set so that all the other plots follow as needed. To illustrate, I've somewhat mimicked your data and in the animated gif I show largest data set, plus 2 others produced by copying it. Then I demonstrate how to make the second one, including the rescaling required to make all plots scaled equally. Notice that I've arranged things so that only one set of x-values feeds all the series. If you can do this, it makes working with the Excel's interface much easier.
After wrestling with it all night I came to the following solution:
Instead of setting all the empty cells to "" or zero the cells should be be set to #N/A (not available). The graph properly ignores the #N/A cells exactly like I want it to and updates when values are entered into them.

How can I make a spectral plot in Excel?

I have two columns of data - first is fractions (goes on x-axis), second is integers (goes on y).
Is there a way to plot one against the other in a histogram type manner so it looks like a spectrum?
Use the "scatter plot" tool. It is also called a "scatter chart" tool. Once you have your chart in place, you can add a trend line to determine the formula for the relationship between x and y values. You will be able to find the formula in terms of y = mx+b. You can also determine the r squared value which will be important in the interpretation of the relationship. There are several options for scatter charts that might lead you off course, so experiment with the tool a bit to discover the correct options for your situation.

Filter and plot values that satisfy a certain condition

The data comes from several sensors that arranged in columns, and each row represents a measurement instance (say, a 10-minute average).
I perform some filtering and get a 'Global criteria' column of TRUE and FALSE depending on whether the data met the criteria.
Now, I want to create an x-y plot that only portrays the data that fullfils the criteria; perhaps I am missing something blatantly obvious but I have not been able to produce this graph.
I have tried to create a 'Filtered' vector in the Name manager:
X is
=PRODUCT(GlobalCriteria;Data!$A:$A)
Y is
=PRODUCT(GlobalCriteria;Data!$B:$B)
to no avail...
I have found a non-optimal solution, in that I multiply the boolean vector with the vector(s) I want to plot, and then plot that multiplication. I get of course a lot of values at (0,0) but I can live with that.
I am of course looking for a more elegant solution, perhaps with dynamic names.

Step-chart in Excel

I am trying to create step-chart in Excel using tutorial (section "Step Chart Approach 2: Line Chart with Repeated Ranges").
However, it works incorrectly.
According to instructions (section "How it Works") values from 2 named ranges should be shuffled, while I get consequent values from 2 ranges.
The resulting Series formula seems to be correct:
=SERIES(Sheet1!$B$59,('Book1.xlsx'!KPInames2,'Book1.xlsx'!KPInames),('Book1.xlsx'!reqKPI2,'Book1.xlsx'!reqKPI),1)
(I am using namedRange2 instead of namedRangeX)
What am I doing wrong? How to force excel to mix values from 2 ranges?
The problem was really in category axis insted of required dates axis.
So the solution is to create a series with dates axis insted of needed category axis. And afterwards to create dummy invisible category series on the secondary axis.
Finally, playing with axis placement and visibility will produce required result

chart in excel to represent correlation of 3 parameters

Please dont eat me because of this question :)
I have some data in excel and I would like to make a graphical representation of those data. Structure of my data:
persons ID : from 1 to 485 to every person, there is one parameter like average jumping distance and another parameter (like height) and finally there is a class to which every person belongs to (1, 2 or 3).
To assign persons to classes I have used k-means algorithm.
Now I would like to make a graph of this result. How can I do it please in excel (or by using another tool)?
Thank you
I would use a scatter (XY chart with markers and no lines). Plot average jumping distance on one axis, height on the second axis. Then for the classes I would separate all the data into 3 series and use different colors for each series. I would adjust the marker size to see which one works best with the data.
Here is a fast example to give you an idea how to it would look like. Its not as easy as just clicking once to insert the chart from the data though:

Resources