Community Profile

photo

Daniel


Last seen: más de 2 años hace Con actividad desde 2016

Estadísticas

  • First Review
  • Thankful Level 3
  • Revival Level 1

Ver insignias

Content Feed

Ver por

Pregunta


5D Data with scatter3?
It seems like you should be able to plot 5D data with scatter3 using the three coordinates, the marker size, and the color. I ca...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Respondida
Plot multiple contours in 3D without volume data
The key is use of hgtransform. Here's a snippet that hopefully provides enough info. hold on ax = gca; % get the current axis ...

más de 2 años hace | 0

| aceptada

Pregunta


Plot multiple contours in 3D without volume data
I am trying to plot multiple contours in the same 3D plot without volume data. The resulting plot would look like a slice plot w...

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Patch won't fill my polygon and inpolygon won't find points inside
I'm trying to do two things with the coordinates of a shape that was created using slice_stl_create_path from the FEX. First, I ...

casi 3 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Importing and using 3D CAD for various plots
I have 3D simulation data of fluid flow around a 3D geometry. The fluid data is output on a regular XYZ grid and is very easy to...

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Extra space in saved figure before subscripts or superscripts
I have plot axis labels that use subscripts and/or superscripts. The figures look exactly as they should when I plot them in Mat...

alrededor de 3 años hace | 2 respuestas | 1

2

respuestas

Pregunta


Can't use as many cores as available
Apologies first because I probably don't know enough about this to adequately describe the problem, but please ask questions (an...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Colorbar font size decreases upon export
When I export my contours with colorbar labels, the font size is being decreased. Take, for example: testx = 1:10; testy = 1:10...

alrededor de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Special legend for special bar plot
Here's the code for my bar plot: ctgroup = reshape(Ct(2:end),5,[]); ctgroup = [nan,Ct(1),nan;ctgroup]; figure, b = bar(1:6,ct...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


No legend when plotting fit object
When you plot a fit object, it automatically adds a legend. For example, 'plot(myfit)', in which 'myfit' is the output of 'fit' ...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
Arrange data based on filenames
I think I figured out a way to do what I was hoping. X = -5:0.1:9; Y = 3.5:0.1:10.2; path = 'mypath'; files = dir([path '*al...

más de 3 años hace | 0

| aceptada

Pregunta


Arrange data based on filenames
I have many thousand files whose data I would like to arrange in an array in a particular way based on their filenames. Each fil...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Complicated grouped bar legend
Here's my plot code: cpgroup = reshape(Cp(2:end),5,[]); cpgroup = [nan,Cp(1),nan;cpgroup]; figure, b = bar(1:6,cpgroup,'FaceC...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
Edit and run a script with another script
I found a way. I just copied and pasted the two existing scripts into a new one and created a loop around them. Pretty easy, but...

más de 3 años hace | 0

| aceptada

Pregunta


Edit and run a script with another script
I need to use two scripts that are part of a packaged program many, many times in a row, so I'd like to find a way to essentiall...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Tiledlayout issues: colorbar title and spacing
I've just discovered tiledlayout. At first, it seemed like a good solution to some of the difficulties with subplot, but I'm fin...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Loading data to/from network drives
I have a lot of data in multiple files produced by a simulation that I now want to process in Matlab. I've looked before at the ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to remove open contours
Here's what I finally figured out. I'm certain that improvements could be made as I'm not an "efficient" coder. I welcome input....

más de 3 años hace | 0

| aceptada

Pregunta


How to remove open contours
I have a volume of data. At each x location, I'd like to process some contours in the y-z plane. As part of that, I'd like to on...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


What is the fastest way to load many large files and then reuse that data
I have upwards of 200 .csv files that are around 500 MB each. Each file contains a one line text header and 10 columns of numeri...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Find multiple values closest to zero
I have a series of vectors all with multiple zero-crossings, but not always the same number. I've tried this, this, this, and th...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Smooth data prone to bifurcation
I have data that I am interrogating for certain trends. Sometimes, it's prone to bifurcation due to the bounds of the data. What...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Respondida
Find max/min level of all intersections of a given contour curve with another set of contour curves
I think this works for my purposes, at least. I'm sure there's a much more efficient way. for i = 1:length(ccp) % These are lev...

más de 3 años hace | 0

| aceptada

Respondida
Append nested cells in a loop
Figured it out. This works, though I'm open to other suggestions. count = 1; for i = 1:length(ccp) for j = 1:length(cct) ...

más de 3 años hace | 0

| aceptada

Pregunta


Append nested cells in a loop
I am trying to store nested cells in a loop, but can't figure it out. I'm pretty sure this is almost trivial, but it's escaping ...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Find max/min level of all intersections of a given contour curve with another set of contour curves
I have two sets of contours, call them A(x,y) and B(x,y). For given contour level of A, I would like to find all the intersectio...

más de 3 años hace | 3 respuestas | 0

3

respuestas

Pregunta


Interpolate to plot contour in plane of non-uniform 3D data
I have a set of three dimensional data (attached) that is on a non-uniform grid. In the code below, you see how I load, reshape,...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Concatenate same fields in multiple structures in a loop using field names
I have several .mat files and each is a structure with the same fields. For each field, I'd like to create an array that has the...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Plot min values of one matrix on contour of another
I have two matrices that are each made as functions of the same two variables. So say they are A(x,y) and B(x,y). I don't know t...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Fastest way to match elements in two vectors and return indices?
I have the code below to assemble data taken from several files. The outer loop isn't really important. Once in it, it first use...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Cargar más