williamjsdavis / smoothliveplot.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia package for creating live-style plots during calculations.
License: MIT License
A Julia package for creating live-style plots during calculations.
License: MIT License
If any ordinate element in a plot array is either initially set (or modified to) a value that is too large, the plot line vanishes.
To reproduce the bug:
using Plots, SmoothLivePlot
function myPlotFun(yVals)
plot(0:0.1:1, 0:0.1:1)
plot!(range(0,1,length=length(yVals)), yVals)
ylims!(0,2)
end
inyVals = collect(0.2:0.01:0.3)
outPltOb = @makeLivePlot myPlotFun(inyVals)
Modifying an ordinate element of the plot object to modest values produces no error:
newYvals = copy(inyVals)
newYvals[5] = 10
modifyPlotObject!(outPltOb, arg1 = newYvals)
However, modifying to large values makes the line disappear
newYvals[5] = 1e8
modifyPlotObject!(outPltOb, arg1 = newYvals)
"Large" ordinate values that cause the bug seem to be >1e8. Interestingly, this bug does not occur for large negative numbers. This bug does not occur with scatter
. Large abscissa have not been tested yet.
For some reason, in recent tests the smooth plots open in a gui instead of the Juno plot plane window. Functionality of the smooth plotting is still active, but the destination is wrong. This may be a julia-client issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.