Réponse apportée
Vertical blank space in tiledlayout compact
> As you can see there is some vertical unnecessary space between the two horizontal stacks of plots. I would like to reduce it ...

4 mois il y a | 1

Réponse apportée
How to get "Clean" edges on a surface plot?
Conversion from 3D scatter points to a surface is not straightforward. Here, I'm using Delaunay triangulation to create a mesh ...

4 mois il y a | 0

| A accepté

Réponse apportée
How to get "Clean" edges on a surface plot?
Use convhull to enclose the polyton and trisurf to plot the results. Code from OP GS = [0,0 0.225,2.35 1.325,5.525 ...

4 mois il y a | 0

Réponse apportée
Plotting two surface plots in the same figure using two different colormaps
Assign two surface objects two different colormaps using Truecolor arrays The recommended approach is to create an overlayed ax...

5 mois il y a | 0

Réponse apportée
changing font size in all the elements of figures
Starting in MATAB R2022a you can use the fontsize command. For example, to set the fontsize to 15 points for all* text in a fi...

5 mois il y a | 0

Réponse apportée
How to change the size of heatmap axis labels
How to independently change fontsize of tick labels and axis labels in heatmap Heatmap's FontSize property sets the font size f...

5 mois il y a | 0

Réponse apportée
Invalid Parameter Name: EdgeColor
Thanks for sharing this. This is a bug that was fixed in MATLAB R2024a Update 5, released on 12 July 2024. hist3(X,[250 250],...

5 mois il y a | 3

| A accepté

Réponse apportée
How do you set the Layout Option at construction for ui objects?
See David's answer in the thread below for a one-liner solution: https://www.mathworks.com/matlabcentral/answers/1977184-can-yo...

6 mois il y a | 0

| A accepté

Réponse apportée
Change the background colour gradient.
The axes color property can only be set to one solid color. A workaround is to plot a patch with interpolated colors and to s...

6 mois il y a | 1

| A accepté

Réponse apportée
loop plot add text to only one specific plot year
I recommend using xregion (requires R2023a or later) or xline (requires R2018b or later). With xline you can also include a tex...

6 mois il y a | 0

Réponse apportée
How to remove decimal points in the Workspace
See format to set output display format. format shortg or if you always want 2 decimal places, format bank See full list o...

6 mois il y a | 0

Réponse apportée
Simple turn on Lamp with switch in app designer
The problem is that the values the switch returns are On and Off with capital letters. Your string comparison is case sensitive...

6 mois il y a | 0

Réponse apportée
Passing output from a ButtonDownFcn callback function
Callback functions do not have outputs or a clear workspace where the outputs would live. Instead, within a callback function y...

6 mois il y a | 0

Réponse apportée
X-Axis Boxplot Shift
This demo plots the boxchart first and then plots the jittered scatter next to the boxes. This differs from the original request...

6 mois il y a | 0

Réponse apportée
Text inside the meshgrid
The problem: the initial image it not fully displayed in the figure Below is the section of code that creates the axes where th...

6 mois il y a | 1

| A accepté

Réponse apportée
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...

7 mois il y a | 2

| A accepté

Réponse apportée
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...

7 mois il y a | 0

| A accepté

Réponse apportée
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...

7 mois il y a | 0

| A accepté

Réponse apportée
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...

7 mois il y a | 0

| A accepté

Réponse apportée
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...

7 mois il y a | 0

| A accepté

Réponse apportée
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...

7 mois il y a | 0

Réponse apportée
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...

7 mois il y a | 1

Réponse apportée
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...

7 mois il y a | 0

Réponse apportée
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...

7 mois il y a | 0

| A accepté

Réponse apportée
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...

7 mois il y a | 0

Réponse apportée
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...

7 mois il y a | 0

| A accepté

Réponse apportée
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...

7 mois il y a | 0

Réponse apportée
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...

7 mois il y a | 1

| A accepté

Réponse apportée
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...

7 mois il y a | 1

| A accepté

Réponse apportée
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 ...

7 mois il y a | 1

| A accepté

Charger plus