Réponse apportée
Change colour of points in plot3 with increasing z value
No, plot3 only supports a single color. You can use other graphics functions. The "traditional" one for this purpose is actually...

environ 10 ans il y a | 4

Réponse apportée
Colorbar error "Too many input arguments." in matlab 2015b
This bit of the message: Error using parula Too many input arguments. Error in matlab.graphics.illustration.ColorBar ...

environ 10 ans il y a | 1

Réponse apportée
Graphics Pipeline: Viewspace & Back face culling
Are you sure your triangle orientations are consistent? For the calculations you're using for normals and backfaces, they mus...

environ 10 ans il y a | 1

Publié le


Into the Mucube
Last time, when I was talking about permutohedra, we saw how truncated octahedra fill 3D space with no gaps. There are a...

environ 10 ans il y a

Thumbnail

Réponse apportée
Does MATLAB R2014b require Graphics card to run fast.
It would depend on what your code is doing. A faster graphics card will only help with certain operations. Have you tried the...

environ 10 ans il y a | 0

Réponse apportée
Removing white space inside MATLAB plot
Yet another option is to use this: axis tight This tells the rulers on the axes that they shouldn't round out to "nice" ...

environ 10 ans il y a | 4

| A accepté

Réponse apportée
Understanding the Color Matrix Input in surf()
From the help for the <http://www.mathworks.com/help/matlab/ref/gradient.html gradient function>: [FX,FY] = gradient(F) re...

environ 10 ans il y a | 1

Réponse apportée
imagesc, HeatMap or something else with non-rectangular cells
You can do heatmap like things with triangular meshes, but there is a bit of a learning curve. You're going to want to learn abo...

environ 10 ans il y a | 1

Réponse apportée
How do I plot a contour map on the surface of a 3-d surface?
A simple tricky I use sometimes is to use a colormap with a small number of colors. [x,y] = meshgrid(linspace(-pi,pi,150));...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
error using ezmeshc when using 'defaulttextinterpreter','latex'
The "EZ" functions make up nice titles and labels for you from the functions you give them. But they do that by generating TeX f...

environ 10 ans il y a | 1

Publié le


Tiling Hexagons and Other Permutohedra
In earlier posts we've looked at tiling quadrilaterals and pentagons. So what about hexagons? I'm sure you've seen tilings...

environ 10 ans il y a

Thumbnail

Réponse apportée
Can export_fig or else draw vector graphics with transparent surfaces?
I'm sure that Yair (the author of export_fig) will show up at some point with some good advice, but my understanding is that exp...

environ 10 ans il y a | 2

Réponse apportée
how to get the surface patch after delaunay triangulation
Have you tried the freeBoundary method as shown in the first example on <http://www.mathworks.com/help/matlab/ref/triangulation....

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Contour(X,Y,Z), grid contour with regard to probability or distance costs
Perhaps the <http://www.mathworks.com/help/matlab/ref/contourf.html contourf function> is what you're looking for. Another possi...

environ 10 ans il y a | 0

Réponse apportée
How to make a gif of an already animated figure
You also need WriteMode=append or the imwrite keeps creating a new file. See the example at the end of <http://blogs.mathwor...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
How to rotate an Alpha Shape, or points that defines the edge of a 3D shape?
Could you post your code? Here's a modified version of one of the examples: [x1, y1, z1] = sphere(24); x1 = x1(:); ...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
How to implement a nonlinear grid into an image?
The image object won't do that. It does linear interpolation between the coordinates of its corners. You need to use a graphics ...

environ 10 ans il y a | 2

Réponse apportée
How can I plot a combined of attached photos (triangular domain)?
Basically you want the technique I used in <http://blogs.mathworks.com/graphics/2014/11/18/what-is-a-surface/ this blog post abo...

environ 10 ans il y a | 2

Réponse apportée
With what command i can change the width of contours created with SURFC from the beginning?
The property is LineWidth, but things are a little tricky with surfc. The surfc command turns around and calls surf and contour....

environ 10 ans il y a | 1

| A accepté

Réponse apportée
How to do triangulation after insert a new point
Perhaps <http://blogs.mathworks.com/loren/2015/07/15/incremental-delaunay-construction/ this post on Loren's blog> will help.

environ 10 ans il y a | 0

| A accepté

Publié le


Polygon Interpolation
I recently answered a question on MATLAB Answers about how patch interpolates color data. This is a question I get a lot...

environ 10 ans il y a

Thumbnail

Réponse apportée
Colouring Bars by 'Y' value
I would suggest the approach I described in <http://blogs.mathworks.com/graphics/2014/11/11/highlighting-parts-of-charts/ this b...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Is this distance variable?
Yes and no. The YLabel property of the axes is a handle to a text object, and you can set the Position property of that to m...

environ 10 ans il y a | 2

| A accepté

Réponse apportée
what is the algorithms for computing Delaunay triangulations
The delaunayTriangulation class is built on top of the <http://www.cgal.org/ CGAL library>. You can find all of the details in <...

environ 10 ans il y a | 2

Réponse apportée
Extract interpolated values from a surface fit?
I'm not quite sure what you mean when you're saying "raster form" here. I think that you just mean that you want to evaluate the...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
3d_visualisation
There are some utilities for this on <http://www.mathworks.com/matlabcentral/fileexchange/ the file exchange>, and there is the ...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
How can I paint a surface according to another scalar function?
Something like this? [x,y] = meshgrid(linspace(-2,2,50)); z = 4-x-y.^2; c = x.^2 - y; surf(x,y,z,c) <</matlabce...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
why can't I call cftool in 2015matlab?
Perhaps you didn't install the <http://www.mathworks.com/help/curvefit/index.html Curve Fitting Toolbox> when you upgraded? That...

environ 10 ans il y a | 1

Réponse apportée
fill3 command working strangely?
I'm going to start with the geometry part of this and then come back to the colors. The help for both patch and fill3 use the...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
How can I mesh a cylindrical scatter plot?
Trying to do this in Cartesian space might not be the best approach. You know that the points are nearly on the surface of a cyl...

environ 10 ans il y a | 0

Charger plus