Spotfire Average over the data points on a scatter plot - spotfire

I have a scatter plot that has a bunch of points, which are averages on the interval on a certain column( each average would have a varying number of data points that make up the average for that interval). I created a separate calculated column to to find me the average over the timespan, but this is giving me more like a weighted average rather than the average of the points on the graph. ie its taking all 1000 rows and averaging them accordingly but i want it to average the averages displayed on the chart. any ideas?
screen shot of chart below
you can see the average line says its 4.35 but if you take an average of all the point then its 4.26
is there a way to make it show me of the averages charted instead of the weighted way it tis doing
enter image description here

Related

Age of Passengers Histogram

I have a data set that has ages listed and the number of passengers who are that age. I need to create a histogram to show that data. I only seem to get a histogram chart output of 1 column of the data, not both though. See image below.
How do I get essentially a column chart (but as a histogram) to show the quantity of passengers in each age group?
enter image description here
I think you want to use a clustered column chart, with the age column as the horizontal axis.
you can reduce the gap width for the look of a histogram.

How do I graph scalable data on both the x and y axis of a bar chart in Excel?

I am having issues creating a Bar graph in Excel. Currently, the Y-axis is a 'series' value input allowing for salability whereas, the x-axis is a 'categorical' input. I am trying to graph the 1st year earnings (y-axis) for each major at two Universities(UF-USF) with the number of graduates at the universities on the x-axis. I'm using the same population data for both so the columns overlap and can compare degree earnings between the universities. I managed to create a graph that has a "scaled" x-axis but, it's still categorical data so I cannot manipulate it- Figure 1. I want to make it look like Figure 2 while displaying the disproportionate number of graduates per the three degrees on the far right. I've already considered other graphs but must have a bar chart.
Figure 1: 'Scaled horizontal axis with Categorical input
https://gyazo.com/8e8d97bc2696113071d487ed96212b61
Figure 2: Overlapping University Bar Chart(Categorical X-axis)
https://gyazo.com/f1fbdebee4b1c4df27471c812d04da0e
Figure 3: Alternate Bar Chart without University Overlap (Categorical X-axis)
https://gyazo.com/3ed448c369827c0dd056fc151444df06
Figure 4: Data
https://gyazo.com/73ace8e16f481b5776a333911084b8a1
The 1st year, 5th year and 10th year earnings are in the data set. Until this is figured out, I'm only graphing 1st-year data.
Thank you!

Trendline in excel on min max values

I have series of data around 3000 rows. x values are angle, y power. So a cloud is created with max min and average values all over the place (check image attached).
If I use the trend-line option of excel it draws as it should a trend line that matches the median values BUT I want to draw a trend line, on the maximum and another one on the minimum values only. Is there a way to do that?
Thx
Add the Min and the Max values to the chart as new series. Add a trend line for each of these series.
Next, format the data series for Min and Max to have no fill, no line, no markers, so they become invisible and don't upset your chart display. That leaves only the trendlines visible.

Is is possible to create a scatter chart in excel that has a 2 dimensional X axis

I'm trying to create what I would call a Vertical stacked scatter plot or a scatte plot with a 2 dimensional x-axis. I tried using excel's normal charting tools as well as its pivot charting functionality, but I have not been able to crack this one. As anyone had any luck with this type of a chart or can you recommend a tool that can handle it. I've included an image of what I'm trying to achieve below:
The Y axis has months, and the X axis is a combination of Year and Units.
Thanks in advance for your input.
This can be easily handled in Tableau, if you and your users have access to it. For example, using sample Excel data with this format:
Date Units
1/1/2014 10
2/1/2014 20
3/1/2014 30
4/1/2014 40
...
You can create the scatter plot you've shown in your mock-up by doing the following:
Drag Date to Rows and change it to Month level
Drag Date to Columns and leave it at Year level
Drag Units to Columns
Change the Marks type to Circle
Reduce the size of the circles so they look like points
Sort Month according to your preference
Here's a link to a screenshot of the set-up and resulting plot:
screenshot of scatter plot
There are also many formatting options to change the look of the plot.

Excel - Plot average of two plots with inconsistent time (X) axis

I have managed to plot two different data sets on the same axis however, I'm also looking to plotting another line showing their average.
The main problem is that both data sets have different X (time) values so it's not possible to add an average column at the end and plot that. (See the highlighted row 22 for example, corresponding Time values are different)
Is there any way I can plot an average of two plots on the same axis?
One idea that might work is to place the values of both series, one above the other in two new columns, sort this new data according to time, smooth it, then plot the smoothed combined data. Alternatively, you could do the smoothing by simply plotting the new sorted series, adding a moving average trendline to it, then change the formatting of the new series so that it is no longer visible (but the trendline is). Something like this:
In the above picture, series 3 is the plot of the sorted aggregate data of series 1 and 2. If you change the formatting of series 3 so that there is no line, you get something like this:
For my relatively small mock data sets, the results are admittedly poor (it was based on just 25 data points in each series), but if you have a large amount of closely spaced data, and you play around with the moving average window size, you might get something acceptable. If not, you should probably just interpolate both datasets to obtain two consistent time series.

Resources