Comments (4)
Reproducible regardless of whether using software or hardware rendering.
K>> opengl info
Version: '4.3.0 - Build 10.18.14.4414'
Vendor: 'Intel'
Renderer: 'Intel(R) HD Graphics 4600'
RendererDriverVersion: '10.18.14.4414'
RendererDriverReleaseDate: '23-Mar-2016'
MaxTextureSize: 16384
Visual: 'Visual 0x07, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 8 samples)'
Software: 'false'
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {208x1 cell}
MaxFrameBufferSize: 16384
from gramm.
from gramm.
Reproduces on Mac 2015b version... very strange bug! From the looks of it it seems that Matlab's fit() function along with predint() doesn't handle the absence of 'StartPoint' values very well in that case. You do get a warning from Matlab though!
This is solved by providing 'StartPoint' values to stat_fit:
g = gramm('x', x, 'y', y);
g.geom_point('alpha',0.2)
g.stat_fit('fun',@(a,b,x)a.*x+b,'StartPoint',[0 0]);
g.draw();
The 'fun',@(a,b,x)a.*x+b
part is not needed as this is the default fitted function. I just put it here to show that there are two parameters a and b and that is why 'StartPoint' is a vector of length 2. The function can be changed!
from gramm.
Thanks piermorel, that's done the trick! I really appreciate the help.
from gramm.
Related Issues (20)
- color part of the background HOT 1
- Barplot in logarithmic x-axis HOT 2
- Median & quartile lines to extend all the way to the edges of violin plot? HOT 1
- Standard deviation on mean plots HOT 2
- Hard coded "FaceAlpha" of stat_summary "area" HOT 1
- Consider a cloud CI service
- copying object to axes HOT 5
- adding a layout, such that I can make a multiplot which is in line with my metrology layout HOT 1
- g.draw() results in crash (Matlab 2021b) HOT 3
- Horizontal Error Bars HOT 1
- ERROR_set_names HOT 1
- Supressing outputs from g.draw(); HOT 3
- How to make all the subplot in one figure appear in different colours HOT 1
- How to add legend box HOT 1
- adding the gramm to the matlab path HOT 1
- Documentation for modifying axis limits HOT 3
- Error Plotting Outliers with stat_boxplot 2.0 HOT 1
- Draw function overrides figure visibility HOT 1
- How to set the order of the cylinders for facet_grid?
- How to break axis when using gramm package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gramm.