A publié


Vacation Fitness Analytics: Unveiling Insights with MATLAB
Guest Writer: Afiq Azaibi I’m happy to introduce Afiq Azaibi, a developer on the Charting Team at MathWorks...

5 mois il y a

Thumbnail

A répondu
Equally spaced figures in tiledlayout environment
How could I make the figures truly equally spaced? Using tiledlayout, the axes are equally spaced but the colorbar, axis labels...

5 mois il y a | 1

| A accepté

A répondu
Contourf lines showing up on PDF
I tested this in R2023a (and 23b) with the following workflow and could not reproduce the result reported in the question. [X ...

5 mois il y a | 0

| A accepté

A répondu
How to color each group of a bar plot into a different color
h=bar(x,'grouped') where x is an n by m matrix, will create a bar chart with n groups that each have m bars. h will be a 1xm mat...

5 mois il y a | 1

A répondu
Appdesigner color scheme not working
Please contact tech support and include your release info and instructions on how you changed the color scheme. Feel free to in...

5 mois il y a | 0

| A accepté

A répondu
Using fprintf for complex numbers
Another alternative is to use num2str which supports conversion of complex numbers to strings. a = -2*sqrt(-3)+5/3 num2str(a) ...

5 mois il y a | 1

A répondu
Changing the color of a second colorbar
It looks like you want to set the color limits (clim) rather than the colorbar limits (cb.Limits). Replace these two lines cb2...

5 mois il y a | 0

A publié


Guilty pleasures: Pie Charts and Donut Charts
Guest Writer: Abby Skofield In today's article, Abby Skofield slices through the debate about pie charts and introduces two...

5 mois il y a

Thumbnail

A répondu
Is it possible to disable/change the default selection logic of CheckBoxTree?
As @Mario Malic mentioned, it's not possible to replace that logic. I'm curious what your use case is as to why the value of th...

6 mois il y a | 0

A publié


Gourds to Graphics: The MATLAB Pumpkin
Guest Writer: Eric Ludlam Today's graphics adventure is written by Eric Ludlam, development manager of MATLAB's Charting...

6 mois il y a

Thumbnail

Poll


Why do you save figure (.fig) files?

6 mois il y a | 2097 votes | 14 comments

A répondu
I get date info when plot a Datetime in x-axis.
Starting in MATLAB R2023b, use the xsecondarylabel function to set, change, or remove a secondary label. For more info and a d...

6 mois il y a | 1

A publié


Exploring Secondary Axis Labels in MATLAB
One of our missions for this blog is to boost our readers' familiarity with the latest features and to keep you in the...

6 mois il y a

Thumbnail

A répondu
HOW CAN I CREATE REFERENCE AXES ON A 2D PLANE THAT ALLOWS ME TO DRAW AT THE INTERSECTIONS OF SUCH AXES?
Does turning on the grid solve the problem? grid on Here are two demos that show how to display the cursor location when movin...

6 mois il y a | 0

A répondu
How to access axis' secondary label (power of ten)?
Starting in MATLAB R023b, you can use xsecondarylabel, ysecondarylabel, and zsecondarylabel functions to set, update, or turn of...

7 mois il y a | 0

A répondu
Output figure as white background in dark mode [2023b beta]
Hello @Hoang-Long, great question. To be clear, Hoang-Long is using the R2023b beta version of the new desktop for MATLAB whi...

7 mois il y a | 4

| A accepté

A publié


Welcome to the MATLAB Graphics and App Building blog!
Welcome to the launch of the MATLAB Graphics and App Building blog! I am your host, Adam Danz, whom some readers may...

7 mois il y a

Thumbnail

A répondu
overlaying graph contourf (or pcolor)
It sounds like you want to overlay three contours in one axes while being able to see through the 3 layers. Since all 3 of your...

7 mois il y a | 0

| A accepté

A répondu
how to display a m_map figure on app designer
I haven't looked at the 3rd-party software but I'm guessing that its plotting functions do not offer an input argument to specif...

7 mois il y a | 1

| A accepté

A répondu
How to get same figure size?
EPS is a vector format that contains info for every pixel which allows you to scale the size while avoiding pixelation. I wonde...

7 mois il y a | 0

A répondu
creating smaller matrix from a large matrix
Here are two more options. Neither are very readable but I knew there was a grouping solution and a vectorized solution and I w...

7 mois il y a | 0

A répondu
Matlab App Designer UI Axes Unable to Zoom In/Out Smoothly
Please contact tech support and include instructions how to reproduce the problem, your release information, and attach the figu...

7 mois il y a | 0

A répondu
overlapping images in grid layout
I would suggest a different approach. You could potentially have dozens of axes and just as many images in your app which could...

7 mois il y a | 9

| A accepté

A répondu
How to hide representative duration at datetime X-axis plot?
Starting in MATLAB R2023b, you can add, remove, or update the secondary labels using xsecondarylabel, ysecondarylabel, zseconda...

7 mois il y a | 1

A répondu
app.UIFigure = uifigure(); creates a new UIfigure window and the original app is not accessible through app.UIFigure
@Mohd Aaquib Khan, the first two lines of my answer in the thread you linked to were just to simulate app desgner. These two ...

7 mois il y a | 1

| A accepté

A répondu
Can sfit objects be plotted to specific axis in GUI (not a figure window)?
Starting in MATLAB R2023b, provide the axis handle as the first input to plot the fit line in your app's axes. plot(ax,___) pl...

7 mois il y a | 0

A répondu
Trouble deleting plots with circle animation
Based on the code, I think you want to delete the previous circle here (marked by a comment below). M = [3 4 6 5 8 9]; axis([-...

7 mois il y a | 0

| A accepté

A répondu
Visualizing figure in app designer
> Is it possible to access this x, y coordinates from the figure level or do I need to change the function so that it would ret...

7 mois il y a | 0

| A accepté

A répondu
extra uitoolbar in GUI figure (R2023b)
To try to reproduce this behavior, I created a bare-bones gui in R16b and opened it in R23b but the GUI figure does not show any...

7 mois il y a | 0

| A accepté

A répondu
How to find the min values and their indices for a 2D array?
Find the minimum value using min and specify all dimensions. Then use find with two outputs to find the row and column indices ...

8 mois il y a | 0

| A accepté

Charger plus