Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

I have a stl file which I imported in the Blender software. After importing it and some processing the stl file looks like as follows After that I export the picture as a .ply file and try to display ...
1 vote
0 answers
57 views

My code doesn't work well when I apply a custom colormap. It does well with the default colormaps; however, when I specify my own it doesn't work. My current code is this: mymap = [ 0.769, 0.992, 1....
4 votes
1 answer
78 views

I have a figure with a tiledlayout. If I create an sgtitle I am unable to find that same sgtitle within the fh.Children structure. If I do not create a tiledlayout, then the sgtitle shows up in the ...
Matt's user avatar
  • 2,874
6 votes
1 answer
148 views

I have created the first figure using legend normally. I would like to have more than one dot in the legend, so the colours are easier to recognize there, as in the second figure (which I created ...
2 votes
1 answer
51 views

Is there a way to fix the position of left-aligned axis titles regardless of the yticklabels? I am programmatically generating a series of axis objects, where the yticklabels are being autogenerated. ...
3 votes
1 answer
71 views

Hey I'm teaching a calculus course, and for an example in my lecture on surface integrals I would like to generate a surface plot in MATLAB of a portion of a circular cylinder. Here is my MATLAB code ...
4 votes
1 answer
82 views

I'm trying to plot/visualize following solid: This is what I coded so far: % Create the set of 3D points n = 150; x = linspace(1, 2, n); y = linspace(0, 1, n); z = linspace(0, 1, n); [X, Y, Z] = ...
2 votes
1 answer
126 views

I'm writing a script for a certain signal processing application in MATLAB and have to multiply with the Hann window. Here's my code snippet: Fpoints = 1e9; d = 1e-7; t = 0:1/Fpoints:d; w1 = hann(...
1 vote
1 answer
79 views

My script generates a composite plot, made of dozens of lines and line segments. I am trying to add a custom legend to the plot, which contains just 3 of those lines, but I don't seem to be able to ...
2 votes
0 answers
125 views

I want to get a straight \mu in a MATLAB figure label. I use the LaTeX Interpreter since I want to use I tried this: ylabel('$\hat{x}$ in $\mathrm{\mu}$m', 'Interpreter','latex'); and also using only ...
1 vote
0 answers
107 views

I have different charts in MATLAB, some with only positive or only negative values and some mixed. The problem is that the values of the y-axis have different spaces due to the negative signs and the ...
carl's user avatar
  • 551
0 votes
1 answer
100 views

Preamble Some time ago, I created an application in matlab where I could move/rotate some object directly from the mouse (i.e. some kind of mini-cadtool interface): I created the application on the ...
0 votes
0 answers
29 views

I'm trying to simulate a satellite tracker. With ode45 I have de state of the satellite for each time and then convert position to Azimuth-Elevation local coordinates. If the object enters in the ...
1 vote
0 answers
31 views

MATLAB is throwing a warning and not plotting a geopolyshape when setting the ColorData field; however the shape is plotted when ColorData isn't set. The example code below demonstrates the issue. I ...
1 vote
1 answer
69 views

How do I hide the tick marks, but keep the tick labels on both y axis of a graph? My formatting for the axis is yyaxis left; b = bar(data(2:end-1,:)', "stacked"); xticklabels(data(1, :)); ...

15 30 50 per page
1
2 3 4 5
...
257

AltStyle によって変換されたページ (->オリジナル) /