matlab-figure Questions

1

Solved

I need to plot a block of points with small deviations from their equilibrium states. Using quiver it would look like this: And now I want to plot just markers located on the arrow tips. How to ...
Formative asked 7/9, 2015 at 10:32

1

Background In previous versions of MATLAB (e.g. R2013b), I had a neat trick where I would attach a listener to an axes handle's YLim property, which would notify me when the axes y-limits were chan...
Cum asked 9/12, 2014 at 20:9

2

Solved

I have some data to be plotted in one figure. Noise data is ruining other data. How can I change the transparency level of a given data? In my case, I'm using hold all command for plotting several ...
Watercourse asked 17/8, 2015 at 18:10

1

Solved

I know how to change the default renderer using Matlab GUI, but I would like to use painters renderer instead of opengl all the time instead of changing it every time. Is there a way to set defaul...
Rusty asked 4/8, 2015 at 6:22

1

Solved

I would like to precisely control the thickness of the line plotted in MATLAB. Not just 0.5, 1, 2, 3, ... points but e.g. 0.2mm. Is it possible? There is a custom line scale and minimum line widt...
Mirthless asked 21/4, 2015 at 18:20

1

I run this code A = uint8( ones( 200 ) ); a = [ A * 0 A * 1; ... A * 2 A * 3 ]; color_map = [ 0 0 0; ... 0.3 0.3 0.3; ... 0.9 0.3 0.1; ... 1 1 1; ... zeros( 252, 3 ) ]; h = image( a ); colo...
Bolling asked 12/12, 2014 at 19:3

3

Solved

I would like create a Matlab figure with a double X axis (m/s and km/h) with the same plot. I have found plotyy and - in Matlab reposity - plotyyy, but I am looking for: A double X axis. Togethe...
Femineity asked 23/6, 2015 at 17:20

4

Solved

I am using a MATLAB script to tune the control system on a machine. When the tuning is complete, I would like a report containing text (especially serial number, date/time and the values determined...

1

Solved

Recently I am trying to implement the ISO classification for the roadway assessment. Please refer to the paper The use of vehicle acceleration measurements to estimate road roughness. But I bumped ...
Micronesia asked 7/6, 2015 at 5:39

2

Solved

THERE IS THE SOLUTION BELOW! This (x,y) value actually corresponds to a t value, which I want to see on the plot. What can I do? Clearly matlab has the ability to display multiple information i...
Duckweed asked 26/5, 2015 at 20:14

1

I want to place some text in a GUI, and I want to know the exact size the uicontrol of type 'text' needs to be! I've found several threads explaining that this can be done using the 'Extent' prope...
Brunswick asked 5/2, 2015 at 12:42

1

Solved

I have recently tried to run an old piece of code (written on hg1) on a new version of MATLAB (2015a) that has hg2. I used to be able to do the following (according to the "gnovice-Amro" method): ...
Uninstructed asked 3/5, 2015 at 7:45

1

Solved

I would like to define a transparent color within the color map how do I do that? The reason I need this is that I have a multiple layers in my axes (produced both by imagesc and plot). I know I c...
Workday asked 1/5, 2015 at 15:41

2

Solved

I have sets of data in a matrix. I want to plot on set and then use a keyboard input to move to another one. It's simply possible this way: for t=1:N plot(data(:,t)) pause end but I want to mo...
Petrify asked 29/4, 2015 at 15:50

1

Solved

Potentially easy matlab question here, but I've searched and can't sort out how to do this. I've got a variables, which plot like this: I simple want the x axis to be the y axis and vice versa....
Nephrosis asked 21/4, 2015 at 22:53

2

Solved

When I display a bitmap image using image in a Matlab figure window, I'm experiencing strange artifacts: What I'm referring to are the cross-shaped structures which are particularly visible at t...
Lw asked 16/8, 2014 at 18:35

1

Solved

I have to print a large poster, containing a matrix of figures, and it would be very practical for me to let MATLAB arrange them. Unluckily, subplots are displayed to fit a certain figure size, so ...
Semipalmate asked 26/3, 2015 at 14:23

4

Solved

I've got a very simple question, for MATLAB users: If I load a figure file (.fig) with the load command, is there any way to change the plotted lines properties from the command line? (width, colo...
Kirovograd asked 17/2, 2012 at 14:1

2

Solved

I'm looking for a simple way to get gscatter to choose more sensible colors. As you can see in the picture below, groups 3 and 4 have very similar colors, which are difficult to distinguish. I'm ...
Marileemarilin asked 17/3, 2015 at 19:39

1

Solved

In Matlab, the plot is to be made such that origin is on top-left corner, x-axis is positive south to the origin, y-axis is positive east to the origin; x-axis is numbered on the left margin and y-...
Daly asked 12/3, 2015 at 14:37

1

Solved

Quick version How can I control the x- and y-values for a 3-d bar plot in Matlab? Details Say we have an 10 x 20 data matrix and we plot it using bar3, and we want to set the x- and y-values. Fo...
Encincture asked 11/3, 2015 at 15:54

1

Solved

For some reason, I would like to plot the line and marker of the same data separately. data1 = (1:1:10)'; data2 = (1:2:10); figure(1); plot(data1,data1,'or'); hold on; plot(data2,data2,'-r'); lege...
Dorsal asked 2/3, 2015 at 20:23

3

Solved

I am fairly new to Matlab and have a few questions. I got two surfaces and a plane in the same figure. I want to use different colormap and colorbar for b and another colormap and colorbar for c. s...
Nedanedda asked 9/11, 2011 at 23:19

3

Solved

I have some programs written in Matlab that I need to run several times for some reasons (debugging, testing with different input, etc...) But, there are a lot's of graphs that are plotted by the ...
Mettlesome asked 12/4, 2012 at 18:32

2

Solved

Given the following example code: x = 0:pi/10:pi; y = sin(x); e = std(y)*ones(size(x)); figure errorbar(x,y,e) How are you able to color the line different compared to the horizontal lines? I ...
Baecher asked 1/4, 2014 at 22:11

© 2022 - 2024 — McMap. All rights reserved.