Answered
Axis exponent missing when using exportgraphics to export figure in pdf vector format (or image)
This issue has been fixed in MATLAB R2024a Update 4. Get R2024a Update 4 ================================================= Th...

4 months ago | 2

| accepted

Answered
How to save the figure generated by pcplayer
Get the figure handle from the player object produced by pcplayer. Use VideoWriter to create a VideoWriter object and use get...

4 months ago | 0

| accepted

Answered
How to report/flag a user or a ThingSpeak channel?
For the second link, you can report the users using the "report" flag at the top of their profile. The first users doesn't have...

4 months ago | 0

| accepted

Answered
Graphics fail when running live script after a long period of inactivity
Thanks for the information @Jorge. So that we can track this and investigate further, please contact tech support > Product Usa...

4 months ago | 0

| accepted

Answered
plot a 2D circular intensity map
This demo assumes you have a vector of x-coordinates, a vector of y-coordinates, and a vector of intensity values. It uses grid...

4 months ago | 0

| accepted

Answered
how to read a grey scale image in call back function and display it as matrix?
If you need to convert the image to grayscale use rgb2gray or im2gray (thanks DGM). I'm not sure what you mean to display an im...

4 months ago | 0

Answered
Change map coordinates to Latex Interpreter
The map axes you see is a psuedo-axes created from a patch with labels to appear as an axes. The actual axes is not visible. S...

4 months ago | 1

Answered
Matlab Gui: Dragging lines on plot using mouse
If you have the Image Processing Toolbox, you can use multiple ROI lines that are draggable. By assigning a listener to the lin...

4 months ago | 0

Answered
How to customise Polar Plots - Part 2
Thanks for sharing this, @Sam Hurrell. Something's fishy. Here's a workaround. You can set the axes' TitleHorizontalAlignm...

4 months ago | 0

| accepted

Answered
issues about app design
> the edit area of the code view seems frozened, it only force me to edit within the area which marked with white background T...

4 months ago | 0

Answered
AppDesigner UIFigure WindowScrollWheelFcn disables datatips
> when I add a WindowScrollWheelFcn callback to the parent uifigure, I am no longer able to see datatips when hovering over poin...

5 months ago | 0

| accepted

Answered
extracting values from an image with color legend
One way to see the color value is to add the color data to the data tip. When you click on or hover over one of the points, you...

5 months ago | 0

Answered
Counting number of elements less than value across 2d matrix
> I'd like to calculate the percent of values in part of the matrix -- i.e., from 401:440 and 1081:1360 -- where values are less...

5 months ago | 1

| accepted

Answered
Stl file pdegplot in App designer
> pdegplot command does that but how can I use it in App Designer? pdegplot does not have an input argument or property to spec...

5 months ago | 1

| accepted

Answered
Add individual legends to plots in a tiledlayout
Only one legend can be assigned to an axes. This poses a problem if each axes has a legend and you want to add a global legend ...

5 months ago | 1

| accepted

Answered
Refresh FFT plot when time signal is panned
linkaxes is often used to link axes limits between multiple axes but in this case, your axes have different units and different ...

5 months ago | 0

Answered
Which characters are replaced by matlab.lang.makeValidName?
matlab.lang.makeValidName uses isvarname to determine if the string is a valid variable name. The doc page for isvarname state...

5 months ago | 0

| accepted

Answered
shifting axis on both ends so graph does not have points on extreme end
In addition to axis padded which pads all axes limits, you could use ylim('padded') to only pad the y axis limits (same with xli...

5 months ago | 0

Answered
Is there a way to programmatically generate function signature jsons file?
> I was wondering if there was a way to generate signature jsons through MATLAB code No, MATLAB does not offer such a function....

5 months ago | 1

| accepted

Answered
Programmatically close App Designer app after running it for a unit test
Original answer removed due to error. See discussion below. Summary of approaches (thanks to Steven Lord) use a addTeardown ...

5 months ago | 0

| accepted

Answered
How to squeeze specific value from 4D array?
It seems like you are asking for a way to identify and retrieve every instance where the temperature value is exactly 25 within ...

5 months ago | 0

| accepted

Answered
Unrecognized function or variable " " , when I use my function
The variable t_peaks is not defined in the fit_function. Neither is the peaks variable but this is not throwing an error becaus...

5 months ago | 0

Answered
how to plot a section of a circle, need help with coding the math
> The variables I have is center position (lat and long), I have right and left aperture (130° total), max range (usually 25-30 ...

5 months ago | 0

| accepted

Answered
Appdesigner window ends up in background after uigetfile
Thanks for reporting the problem. This has been fixed in the R2024a beta release and the fix will be available in the genera...

5 months ago | 2

Answered
Pushbutton sends app designer panel to the back.
Thanks for describing the problem. This is a known issue (previous reports: 1, 2, and others). This has been fixed in the R2...

5 months ago | 0

Answered
How do I programmatically extract a 3D plot point selected by a user interactively?
Finding the nearest point in 3D space to a mouse click in a 2D representation may pose problems because depth of the mouse click...

5 months ago | 1

| accepted

Answered
Unwanted quotation marks when appending a table in pdf report
I don't know whether there is any report generator wizardry that addresses this but a simple solution is to convert the cell-str...

5 months ago | 1

Answered
Plot Stacked Surfaces with Coloring Appropriate for each Individual Surface
Assuming the three surfaces are on the same axes, you can set the cdata for each surface. The cdata can be normalized so that ea...

5 months ago | 0

| accepted

Answered
Why does my plot line appear outside the axes?
This appears to be a bug specific to the OpenGL renderer. Thanks for reporting this issue. Investigation will continue interna...

5 months ago | 2

| accepted

Answered
Exported 3D plot into SVG shows swirly white lines between chopped subshapes in inkscape
The white lines issue has been around for a while and is an effect of how viewing software rasterizes vectors. There have been ...

5 months ago | 0

Load more