Respondida
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...

casi 10 años hace | 4

Respondida
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 ...

casi 10 años hace | 1

Respondida
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...

casi 10 años hace | 1

Publicado


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...

casi 10 años hace

Thumbnail

Respondida
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...

casi 10 años hace | 0

Respondida
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" ...

casi 10 años hace | 4

| aceptada

Respondida
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...

casi 10 años hace | 1

Respondida
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...

casi 10 años hace | 1

Respondida
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));...

casi 10 años hace | 0

| aceptada

Respondida
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...

casi 10 años hace | 1

Publicado


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...

casi 10 años hace

Thumbnail

Respondida
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...

alrededor de 10 años hace | 2

Respondida
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....

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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(:); ...

alrededor de 10 años hace | 1

| aceptada

Respondida
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 ...

alrededor de 10 años hace | 2

Respondida
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...

alrededor de 10 años hace | 2

Respondida
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....

alrededor de 10 años hace | 1

| aceptada

Respondida
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.

alrededor de 10 años hace | 0

| aceptada

Publicado


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

alrededor de 10 años hace

Thumbnail

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 2

| aceptada

Respondida
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 <...

alrededor de 10 años hace | 2

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 1

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

Cargar más