Respondida
contour map from 3-column matrix?
You've got a list of locations and values. Visualizations like contour are showing what happens between the values. To do that, ...

más de 8 años hace | 1

| aceptada

Respondida
Legend and for loops
You're saying you call legend([h hh hhh], ...) each time around the loop? That means that each time you're telling lege...

más de 8 años hace | 1

Respondida
Why is not every Marker filled in my Plot
My guess is that the markers are actually behind the filled grey regions, and your SortMethod is depthsort, and your renderer is...

más de 8 años hace | 1

Respondida
Marker size based on value
The help for scatterm says: scatterm(LAT,LON,S,C) displays colored circles at the locations specified by the vectors LAT...

más de 8 años hace | 0

| aceptada

Respondida
create mesh from X,Y
No, meshgrid with 3 inputs is going to give you a 3D grid. You still want a 2D grid for surf. I think that you're just trying to...

más de 8 años hace | 0

Respondida
Repositioning multiple subplots - not all plots appearing
If you're setting all of the positions manually, then subplot isn't really doing anything for you. You might consider just calli...

más de 8 años hace | 2

| aceptada

Respondida
How to plot plate mode shape with thickness
Here's a simple example that might get you started: thickness = .2; [x,y] = meshgrid(linspace(-3,3,40)); % re...

más de 8 años hace | 2

Respondida
How to color a range of bins in histogram?
Usually the most robust way is to create two separate histogram objects: x = rand(10000,1); mask = x<.5; bin_edges...

más de 8 años hace | 6

Respondida
Insert image behind graph
You can use hold to combine two things in the same axes. And you can set the XData & YData of an image to position. Combining...

más de 8 años hace | 3

| aceptada

Respondida
Rotate 3D lines in subplots. How do I use camorbit in subplots ?
Subplot returns a handle to an axes. Camorbit accepts a handle to an axes. So you can connect them together like so: ax = g...

más de 8 años hace | 0

| aceptada

Respondida
How to develop MATLAB code for 3D Voronoi in cubical volume?
What have you tried so far? The <http://www.mathworks.com/help/matlab/ref/voronoin.html voronoin function> is the starting point...

más de 8 años hace | 0

| aceptada

Respondida
Guide interface is different inside GUIDE and from running in 2015b
Just a guess because there aren't many details here, but have you checked <http://www.mathworks.com/help/matlab/graphics_transit...

más de 8 años hace | 0

Respondida
How do I change the font size for text in my figure?
Yes, this can be confusing. Here's what you're probably seeing: figure % Creates a figure set(gca,'FontS...

más de 8 años hace | 21

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

más de 8 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 ...

más de 8 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...

más de 8 años hace | 1

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

más de 8 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" ...

más de 8 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...

más de 8 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...

más de 8 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));...

más de 8 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...

más de 8 años hace | 1

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

más de 8 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....

más de 8 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...

más de 8 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...

más de 8 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(:); ...

más de 8 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 ...

más de 8 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...

más de 8 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....

más de 8 años hace | 1

| aceptada

Cargar más