Show Regression Line Equation in FusionCharts - fusioncharts

Is there a configuration setting anywhere in FusionCharts that would enable a regression line equation (in the form of "y = mx + b") to be displayed along with the scatter plot & graphical regression line (as is possible in Excel)? I've looked hard for this - but just don't find it. Thanks.

FusionCharts does support Regression line. Check a demo at Link
To display regression lines of all the datasets of a chart you need to declare showRegressionLine='1' in the element. You can show the regression line for a particular element declaring showRegressionLine='1' in that particular element.

Related

How to insert values on a boxplot in SPSS?

I'm starting to use SPSS for some statistical analysis, so I don't have much knowledge of this tool, I still have many doubts.
I would like to know if it is possible to enter the values in a boxplot plot. For example: Q1, Q2 (median), Q3, maximum and minimum and outliers (by definition SPSS already presents these values). enter image description here
You can see my example as I would like to see the boxplot. Is this possible in SPSS?

Multiple plots to same chart in LabVIEW

I am doing a two-channel data acquisition to read out the voltages of two diodes. I am using LabVIEW to do this. Below you can see the part of the code relevant for my question.
The voltages are converted to temperatures by 1D interpolation, as shown in the above code. 0.9755 V corresponds to 2 degrees, 1.68786 V to 100 degrees. For this simple example, I expected the waveform chart to display two constant curves, one at 2 and one at 100. However, it plots only one curve that zigzags between the two values. How can I get two separate plots?
Add "Index Array" at the "yi" output of the "Interpolate 1D VI" function and expand it to two elements. Then put "Bundle" function with two inputs. Connect "Index Array" outputs to them. The resulting cluster connect to the chart.
That's it :)
Explanation: to display multiple plots in the chart, you need to feed it with a cluster, not an array. Your "Interpolate 1D VI" output gives you 2-element array (result of interpolation for 0.9755 and 1.68786), so you need to convert it to a cluster using Bundle function.
The general answer to this question is that if you open the context help and hover over the BD terminal of a graph or chart, you will see the various data types it supports:
This will help if you want to get it right every time, as the various charts and graphs can each take different types of data to display different types of graphs and remembering them can be tricky.

How do I add free parameters in Curve Fitting Toolbox (Matlab)?

I have obtained a best fit for a dataset with CFT in Matlab.
I now would like to try how good the fit is on another dataset. Can I do this within CFT? I was thinking of plugging in the fit equation from the first dataset with the addition of one free parameter. Does this make sense? And how do I add it in the 'custom equation' box?
thanks
If you have the dataset you want to try out in your workspave as a variable then CFT will be able to use it. I imagine you have x and y data. X remains the same and you change your dataset at the y data option. Just select the other dataset and CFT should fit it with the equation selected.
Now what do you mean with a 'free parameter'? Just post some equations you want to use to fit and I'll show you how to enter that in the custom equation box :)

Plotting a Histogram in Matlab with Descriptive Statistics

Is is possible to plot a histogram in MATLAB where the summary statistics are displayed in the histogram?
Here is an example of what I want generated in Mathematica
I've looked on the web but can't find an example like this in MATLAB anywhere?
You can use the text() function to add anything you want to a plot in MATLAB.
Alternatively, you can use textbp(), as pointed out by Daniel. textbp() will automatically choose the best position to place text.

Is there any way of annotating multiple plots using arrows with code in MATLAB?

When doing multiple plots on the same figure in MATLAB, is there any way of annotating them such that the legend entries have arrows pointing to the plots that they're named for?
Here's an example of what I have in mind. I'd like to do this using code.
Note that the MATLAB website mentions a way to do this using the annotation function. The problem with that function is that it takes x and y values (normalized for the plot) and puts the text there. Given that I am not certain where the datapoints will lie, this is unhelpful for what I want to do.
I don't mind if the text shows up at a random place, actually. What's important is to have an arrow or some way of pointing to the plot that it is referencing.
Take a look at the following Math works file exchange post:
http://www.mathworks.co.uk/matlabcentral/fileexchange/10656-data-space-to-figure-units-conversion
The code given here allows you to convert between data-space units and normalised figure units. The example given in the post seems to be doing almost exactly what you are asking.