photo

Austin M. Weber


Active since 2021

Followers: 0   Following: 0

Research Interests: Ice core paleoclimatology, machine learning , electron microscopy, remote sensing.

Programming Languages:
MATLAB
Professional Interests:
Earth, Ocean, and Atmospheric Sciences

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • 3 Month Streak
  • Knowledgeable Level 3
  • Community Group Solver
  • CUP Challenge Master
  • GitHub Submissions Level 1
  • Personal Best Downloads Level 1
  • First Review
  • First Answer
  • First Submission
  • Thankful Level 3
  • Thankful Level 2

View badges

Feeds

View by

Answered
Linking line plot and map (geoshow) together MATLAB
Assuming that I am understanding correctly, if the y-axis of your second subplot is supposed to represent latitude values, then ...

9 days ago | 0

| accepted

Answered
How can one use a variable to set color of a line plot , and use colorbar?
To color the line according the values in the variable anx: % Your data load koordmean load anx x = koordmean(:,1); y = koo...

20 days ago | 0

Answered
Adjusting the spacing between the bars of different groups within a category using boxchart.
If you set the BoxWidth name-value pair to 1 then the boxcharts will all touch each other: load temperature_data % A random dat...

26 days ago | 0

Answered
Geoplot with bar chart for each zone
Hi @Shamsoddin, Assuming I understand what you're asking for, the following code should help get you started. Just note that t...

2 months ago | 0

Answered
can you please help me how to load only indian map from world
Hi @Mr Thadi, If you download and install the borders package from the File Exchange then you can plot a map of India very easi...

2 months ago | 1

Question


Why is my diverging colormap not centered as expected?
I want to plot a heatmap of some data using a diverging colormap from the crameri function (File Exchange). However, the colorma...

3 months ago | 1 answer | 0

1

answer

Answered
Changing the longitude of NetCDF from 0-360 to -180-180?
I am attaching a .mat file with some CPC Global Temperature data as an example. EDIT: Corrections thanks to @Walter Roberson l...

3 months ago | 1

Answered
Unable to use load coast and geoshow as it was in the R2017a version.
Hi @Joydeb Saha, The command is not load coast but rather: load coastlines Here is an example of how you can use it: load co...

3 months ago | 0

Answered
App designer not working same as Matlab providing the same code
Hi @Victor, I think you are right that your plot isn't being properly reset after each time you press the button. Try adding: ...

3 months ago | 0

Answered
error saving figure as .tiff
If you are using R2020a or later, try using the exportgraphics function: fig = gcf; exportgraphics(fig,'myFigure.tiff','Resolu...

3 months ago | 0

| accepted

Answered
Normalize axis scale for annotations
The text function allows you to place annotations on a figure using axes coordinates. For example: hf = figure; x = -180:180; ...

4 months ago | 0

| accepted

Answered
Create a boxchart with half-boxes
@Joel Ramadani, Since there is not already a built-in function for making "half" box plots, it might be beneficial to to write ...

4 months ago | 0

Answered
How can i create these two graphs in matlab , rough idea please
This is only half an answer, but you can reproduce the plot on the left using the following code: % Define data x = 0 : 0.01 :...

4 months ago | 0

Answered
Create new Figures with MATLAB live script
Hi @Ahmad, I recommend putting the following command: close all at the beginning of your MATLAB live script. This should rese...

4 months ago | 0

| accepted

Answered
I have longitude data from -280 to 80, latitude data -90 to +90. I need to plot a global spatial map of Temperature data. (-180, -90, 180, 90). How to do it
Are you sure that your longitude data goes from -280 to 80 and not -180 to 80? Or perhaps from -180 to 180? There is no such thi...

4 months ago | 0

Answered
matlab online read excel sheet
Have you tried specifying the file type as a spreadsheet when using the readtable function? filename = 'Trial01_8deg (1).xlsx';...

4 months ago | 0

Answered
Stipple hatch on a Arctic map isn't showed correctly
Hi @Anna, Since your chart is shown using a stereographic projection, the stipple marks closest to the pole only appear like a ...

4 months ago | 0

| accepted

Answered
How can I import .dng files using compression scheme 52546?
Hi @Stephan Cevallos, I haven't worked with .dng images before, but I found a function called DNG2JPG on the MATLAB File Exchan...

4 months ago | 0

Answered
Put Y-Ticks above bars in stacked horizontal bar chart
One option would be to use the text function: y = [30 70; 20 80; 60 40]; b = barh(y, 'stacked','BarWidth',0.3); labels = {'So...

4 months ago | 1

| accepted

Answered
Count percentage of certain number in struct
You can use nnz which tells you how many non-zeros are in an array. If your struct is named s then you can extract the data you ...

4 months ago | 0

Answered
Editing csv data and convert it into a table
@Hicham, Here is another way that you could import your data, but keeping the variable names from the original file. filename ...

4 months ago | 1

Answered
How to plot only some part of a vector based on the index of a knob in app designer
I have made an example of such an app using MATLAB Online (see the attached file). Just to walk you through the steps that I to...

4 months ago | 0

| accepted

Answered
Use the function command to open a vff. file
Hi @parslee The File Exchange function (vff3D.m) in the link that you provided does not have very good documentation. Ideally, ...

4 months ago | 1

Answered
how to solve and plot complex equation
A couple of things: pi needs to be lowercase and you need to use .*, ./, and .^ when doing element-wise operations on vectors or...

4 months ago | 1

Answered
Making a table in matlab
% Example vector1 = [1 2 3 4 5 6 7 8 9]; vector2 = [1 2 3 4 5 6 7 8 9]; vector3 = [1 2 3 4 5 6 7 8 9]; % Combine into an a...

4 months ago | 0

| accepted

Answered
user defined function including a for loop taking vector input giving vector output
Is this what you are trying to do? x = 1:10; result = myfunc2(x) function [y2]=myfunc2(p) k=0; y2 = []; for t = 1:length...

4 months ago | 1

| accepted

Answered
How to automate the plotting of numerical data contained in Excel files?
Here is one way that you can make the 10 graphs for each of the excel files: cartella = 'C:/.../' files_excel = dir(fullfile(c...

4 months ago | 0

Answered
How to to create a dynamic scatter2 or scatter3 plot?
Hi @Muazma Ali, Assuming I understand your question correctly, you can follow these steps: 1. Right-click the Knob object in y...

4 months ago | 0

Answered
How to make widths of all subplot and colorbars same?
Someone else asked a very similar question to this last night (see this link). Below is the answer that I provided them for se...

4 months ago | 0

| accepted

Answered
How change space between subplot and include colobar out axis?
Hi @Guilherme Weber Sampaio de Melo, I would recommend you take a look at this MATLAB Answers discussion for some ideas about a...

4 months ago | 0

Load more