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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 1

| accettato

Pubblicato


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

oltre 10 anni fa

Thumbnail

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

oltre 10 anni fa | 1

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 2

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 1

| accettato

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

oltre 10 anni fa | 1

| accettato

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 1

Pubblicato


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

oltre 10 anni fa

Thumbnail

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

oltre 10 anni fa | 1

| accettato

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

oltre 10 anni fa | 1

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

oltre 10 anni fa | 2

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

oltre 10 anni fa | 0

| accettato

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

oltre 10 anni fa | 0

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

oltre 10 anni fa | 1

| accettato

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

oltre 10 anni fa | 1

| accettato

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

oltre 10 anni fa | 0

Carica altro