Is there a chart library in any programming language which allows creating a plot of time series data as a line chart with a gradient shadow under the line?
Example:
Approaches using python and matplotlib failed so far, see datetime64 values, ufunc 'isfinite' not supported for the input types
I have the plot below:
and I would like to fit linear trendlines to the data, so I can use the slope in further calculations. However, when I try to fit a linear trendline, I get this:
If I fit a power trendline, then I get an R^2 over .999, but that trendline is useless to me... Does anyone know the proper way to accomplish this?
EDIT: Here is the data in CSV format
Iron in Copper,,,Cobalt in Copper,,,Nickel in Copper,,
T (oC),D (cm2/sec),1/T (1/K),T (oC),D (cm2/sec),1/T (1/K),T (oC),D (cm2/sec),1/T (1/K)
1074,5.65E-09,0.0007423078,1077,3.43E-09,0.0007406584,1076,1.98E-09,0.0007412074
974,1.11E-09,0.0008018282,983,7.64E-10,0.0007960833,980,3.57E-10,0.0007979891
895,2.86E-09,0.0008560544,904,1.77E-10,0.0008495094,900,7.87E-11,0.0008524059
830,7.80E-11,0.000906495,844,5.09E-11,0.0008951349,847,2.61E-11,0.0008927376
780,2.67E-11,0.0009495324,793,1.65E-11,0.0009379543,791,6.82E-12,0.0009397171
719,6.55E-12,0.0010079121,744,5.31E-12,0.0009831392,743,1.90E-12,0.0009841067
,,,701,1.76E-12,0.001026536,,,
Hmm - with those values, i get:
The trend lines seem fine for me? (Sorry, no answer, but i can't put the chart into a comment...)
I have try to combined stock chart and line graph using excel. But it cannot do. I can draw Stock chart and line graph separately. Is anyone know a way to darw stock chart and line chart in same plot. X axis is same.
If you can do this using Matlab, it also okay.
Yes you can plot in MATLAB.
To have a candlestick plot and a line plot of closing prices in the same chart,
candle(HighPrices, LowPrices, ClosePrices, OpenPrices)
hold on
plot(ClosePrices)
HighPrices, LowPrices, ClosePrices, OpenPrices are all columns. The hold on command is to let you plot multiple graphs in the same figure.
candle is for making stock-charts and plot by default makes line charts.
Refer to the MATLAB documentation on the MathWorks website for more clarity.
Combining a stock chart and line graph using Excel without VBA is not possible:
I am able to displaying multiple Y-axis using core plot, but my problem is I need to display different values on two Y-axis with different interval difference.
How to draw graphs using core plot same as above images.
Is it possible to draw graphs or not. If not possible please tell me reason.
If possible give me some suggestion or provide sample code using core plot.
Please help me.
Thanks in advance.
You need to use a separate "plot space" for each different axis scale. For these graphs, you would need two—one for the left y-axis and the x-axis and another for the right y-axis. See the Plot Gallery (the Plot Space demo) and CPTTestApp (Mac version) example apps for sample code.
For LineChartDataSet you have property axisDependency. This property could be
AxisDependencyLeft
AxisDependencyRight
For swift
.Left
.Right
Has anyone tried creating Normal Distribution chart using FLOT?
If so, can you please put me in a right direction with some suggestions and links to tutorial?
Thanks.
FLOT is simply a plotting engine. If you want to create a Bell Curve, you need to feed a probability density function a series of x values and plot the resulting points.
For instance I used the functions from here to create this:
Here's the jsFiddle that shows my work.