Respondida
problem with 3d bar plot and colorbar
That appears to be <http://www.mathworks.com/matlabcentral/answers/53874-colorbar-error-how-to-fix-it this issue>. I asked th...

alrededor de 10 años hace | 0

Respondida
How to make a equilateral triangular piece in a rectangular meshgrid?
Meshgrid is going to create a rectangular mesh, but you can fill the parts you don't want with nan, as I described in <http://ww...

alrededor de 10 años hace | 0

Respondida
Plotting discontinuos X Data
You can use <http://www.mathworks.com/help/matlab/ref/nan.html nan> to represent discontinuities: datax = [6 7 8 9 nan 14 n...

alrededor de 10 años hace | 0

| aceptada

Respondida
Graphic problem on windows, but ok on Linux
No, that error message is talking about the data being passed into contour. It's not dependent on the graphics card or the rende...

alrededor de 10 años hace | 1

| aceptada

Publicado


Interactive Graph Layout
I really like the new graph visualization functions that were introduced in R2015b. I particularly like the various options...

alrededor de 10 años hace

Thumbnail

Respondida
Plot3 mark first and last coordinate set?
The simplest way is to just create a second plot: plot3(x,y,z) hold on plot3([x(1),x(end)],[y(1),y(end)],[z(1),z(end)...

alrededor de 10 años hace | 1

Respondida
How can I draw equipotential surface?
<http://blogs.mathworks.com/graphics/2015/03/03/implicit-curves/ This post> I wrote for the MATLAB Graphics blog explains the ba...

alrededor de 10 años hace | 0

| aceptada

Respondida
How can I plot diagram in MATLAB
Here's a starting point. for i=1:3 subplot(3,1,i) plot(measured(i,:),'k') hold on plot(modeled(i,:),'k:...

alrededor de 10 años hace | 0

| aceptada

Respondida
How can I create a bubble different size plot?
Do you mean something like this? <</matlabcentral/answers/uploaded_files/41664/speed.png>> Here's how I did that: % L...

alrededor de 10 años hace | 0

Respondida
3D Histgram plot for [N,M] Matrix, visualize result monte carlo simulation
Is <http://www.mathworks.com/help/matlab/ref/histogram2.html histogram2> what you're looking for? <<http://www.mathworks.com/...

alrededor de 10 años hace | 0

Respondida
how to remove the remaining part of my plot
The function fill has a return argument. This is called a 'handle'. The handle has a delete method which you can call to get rid...

alrededor de 10 años hace | 0

Respondida
How to create a cuboid ?
<http://www.mathworks.com/help/matlab/visualize/multifaceted-patches.html This page of the doc> talks about how to use the <http...

alrededor de 10 años hace | 0

| aceptada

Respondida
Export a 3d plot with light in .eps in MATLAB
I'm afraid I don't know the whole story on this one, but I know part of it. If you've got a surface which only contains solid...

alrededor de 10 años hace | 0

Respondida
Plotting real time data in matlab with Ni-daq, but view the entire graph as it is plotting
<http://www.mathworks.com/help/matlab/ref/animatedline-object.html This page> and <http://www.mathworks.com/help/matlab/ref/draw...

alrededor de 10 años hace | 0

| aceptada

Respondida
How to show the 3d volume transparently ?
The Renderer 'zbuffer' didn't support FaceAlpha. You'll need to use opengl.

alrededor de 10 años hace | 0

| aceptada

Respondida
Create intersection between surface and oriented planes
How is your surface defined? A patch object? Are the faces triangles, or perhaps quads? This <http://blogs.mathworks.com/grap...

alrededor de 10 años hace | 2

Respondida
Generate 3-D object
Have you tried the <http://www.mathworks.com/help/matlab/visualize/techniques-for-visualizing-scalar-volume-data.html isosurface...

alrededor de 10 años hace | 0

| aceptada

Respondida
Why don't I see the graph? [No Graph visible in figure window without '+' or '.' argument]
When you're calling plot, you're passing in a single data point. The linespecs '.', '+', etc. are setting the property Marke...

alrededor de 10 años hace | 1

| aceptada

Respondida
patch object changes size when rotating with makehgtform in 2014b
It's the call to 'axis image'. I'll have to do some digging to figure out what changed there, but what are you trying to accompl...

alrededor de 10 años hace | 1

| aceptada

Respondida
Contour of a 2d projection from 3d data
Look at the approach I used in my answer to <http://www.mathworks.com/matlabcentral/answers/258711-how-to-i-surf-or-3d-mesh-3-di...

alrededor de 10 años hace | 0

| aceptada

Respondida
How to I surf or 3D mesh 3 different scripts?(Boat)
You actually don't have enough information to unambiguously define the surface. Here's the classic illustration of that fact...

alrededor de 10 años hace | 1

Publicado


Contour and Infinities
In a recent post, I talked about an interesting edge case in the contour function. Today I'd like to talk about another one....

alrededor de 10 años hace

Thumbnail

Respondida
Use step size in surf and imagesc
You need to make up XData & YData arrays with the right values and pass them into surf & imagesc. Something like this: x = ...

alrededor de 10 años hace | 1

| aceptada

Respondida
Patch function gives crosses when multiple squares attempted
Yeah, this can be a bit confusing. If you look at the <http://www.mathworks.com/help/matlab/ref/patch.html help for the XYC ...

alrededor de 10 años hace | 1

Respondida
minor grid line spacing on log axes of less than 1 decade (answered by myself)
They're not really log spaced differently. Let's look at an example: ydat = linspace(1,100,500); semilogy(ydat) ax...

alrededor de 10 años hace | 2

Respondida
Plot several signals but I want nudging or not overlap between them
There are a couple of approaches. If you want to put all of the plots in the same axes, then they're going to share the same...

alrededor de 10 años hace | 0

| aceptada

Respondida
Which data are stored in handles of boxplot?
They're the handles of the line objects it created. They've been cast to double (because it's rather old code), but if you're us...

alrededor de 10 años hace | 0

Respondida
Combine LineStyleOrder and ColorOrder?!?
Update Starting in MATLAB R2023a you can cycle through LineStyleOrder and ColorOrder together by setting LineStyleCyclingMethod...

alrededor de 10 años hace | 1

| aceptada

Respondida
painters renderer ignoring uistack and z values in R2014b
You need to learn about the SortMethod property on the <http://www.mathworks.com/help/matlab/ref/axes-properties.html axes>. I t...

alrededor de 10 años hace | 1

| aceptada

Respondida
Why does turning the visibility of a figure to "off" slow things down?
They actually don't do the same thing at all. In the Visible='on' case, the pixels are already sitting in the framebuffer on ...

alrededor de 10 años hace | 0

Cargar más