Question

First colum of CSV-imported table has "x___" added to its name

I have a bunch of automatically-generated CSV files with headers, which I'd like to import into Matlab as a table. I used code s...

22 giorni ago | 1 answer | 0

Question

Save Plot with Minimal White Space (Crop Padding)

I'd like to save my figures without the rather large white padding space that Matlab includes by default, and such that they are...

4 mesi ago | 1 answer | 0

Question

First variable of table formatted differently for similar CSV inputs

I have two CSV files, both produced by the same software, according to the same template. Both files look the same when opened i...

6 mesi ago | 1 answer | 0

Question

Converting a table of mixed numeric-string content to an array

I have a table with mixed numeric&string content: M = rep file condition corrAns ___ _...

6 mesi ago | 2 answers | 0

Question

Sorting a mixed text-numeric matrix (cell array) by one of its (numeric) columns

I have an Excel spreadsheet whose rows I'd like to randomly shuffle and further use in Matlab. To that end, I'm reading the XLS ...

7 mesi ago | 1 answer | 0

Question

Finding all occurences of a string within a cell array (itself part of a struc)

I have the following structure dataDens = dens: [1x172 double] level: {1x172 cell} raga: {1x172 cell} wi...

7 mesi ago | 1 answer | 0

Question

Specifying both marker type and marker size in a 'scatter' call

From the documentation of the scatter command, it seems that markers can be specified in their type or in their size, but not in...

10 mesi ago | 1 answer | 0

Question

Animation of plot elements “falling” down to produce a new plot (distribution/histogram)

I have line plots showing estimated pitch values of a sound recording across time: For my presentation, I'd like to suggest...

circa un anno ago | 0 answers | 0

Answered

Plot saved as EMF, rendered as raster as opposed to vector graphics

I'm happy to edit the question if further clarification would be needed to enable an answer or suggestion. Thanks in advance for...

Plot saved as EMF, rendered as raster as opposed to vector graphics

I'm happy to edit the question if further clarification would be needed to enable an answer or suggestion. Thanks in advance for...

oltre un anno ago | 0

Question

Turning off the axes box for marginal boxplots

I followed <https://de.mathworks.com/help/stats/scatterhist.html#btoneo_-1 this> example to create a scatterplot with marginal b...

oltre un anno ago | 1 answer | 0

Question

Plot saved as EMF, rendered as raster as opposed to vector graphics

I have Matlab code (too complex/inelegant to post or attempt to simplify) that produces an array of subplots that looks like thi...

oltre un anno ago | 1 answer | 1

Question

How to set color of scatterplot bars?

I was trying to have the bars in my scatterhist plot be of the same color as the markers: x = randn(1,20); y = randn(1,2...

oltre un anno ago | 1 answer | 0

Question

scatterhist produces a slightly-too-long bottom line for histogram

I used scatterhist to produce plots for which, it seems, the bottom line of the histogram often overshoots the edge of the histo...

oltre un anno ago | 0 answers | 0

Question

Confidence band around linear least-squares line

I am using lsline in Matlab 2016b to add a linear least-squares line to a scatter plot. I would like to add a 95% confidence ban...

oltre un anno ago | 1 answer | 0

Question

Assigning a value to certain indexed elements of a struc variable

I am trying to assign a certain value to several elements of an indexed structure: indices = 1:3 people(indices).gender ...

oltre un anno ago | 1 answer | 0

Question

Generalising number of factorial input elements of a function

Dear Matlab community, I would like to plot data representing subject-wise scores as beeswarm plots (showing variability acro...

oltre un anno ago | 0 answers | 0

Question

aoctool to do 1-way ANCOVAs and scatter-plots

I have two groups of subjects, each with scores on a memory task and on an IQ test. I would like to check whether there's a sign...

circa 2 anni ago | 0 answers | 0

Question

Transition (animation) between two data plots

I'll need to make a fancy presentation of my data and I'm looking for some advice on data visualisation (transition between plot...

circa 2 anni ago | 0 answers | 0

Question

Keyboard shortcut to move DataCursor tooltip to previous/next data point

Once I select a data point in my plot using the Data Cursor tool, it would be very useful to be able to switch back and forth be...

circa 2 anni ago | 1 answer | 0

Question

Suitability of aoctool for 1-way ANCOVA and scatter-plot

I have two groups of subjects, each with scores on a memory task and on an IQ test. I would like to check whether there's a sign...

circa 2 anni ago | 0 answers | 0

Question

Using aoctool for a 1-way ANCOVA (+plot)

I have two groups of subjects, each with scores on a memory task and on an IQ test. I would like to check whether there's a sign...

circa 2 anni ago | 2 answers | 0

Question

Plotting a single time series with double y axes, differently labelled

I would like to plot a time series and have the two y axes (left and right) labelled differently (say, in two different language...

oltre 2 anni ago | 3 answers | 0

Question

Confusing documentation for analysis of variance (ANOVA)

Reading the documentation for Matlab's repeated-measures ANOVA, I noticed two things that didn't make sense to me (I am reasonab...

oltre 2 anni ago | 1 answer | 1

Answered

Variable highlighting sometimes doesn't work (Editor)

caused by a return command I had in my script somewhere, that made some lines non-reachable

Variable highlighting sometimes doesn't work (Editor)

caused by a return command I had in my script somewhere, that made some lines non-reachable

oltre 2 anni ago | 1

| accepted

Question

Controlling the amount of horizontal jitter/offset for a stacked bar graph

A bargraph with stacked/grouped bars will have the horizontal positions of these bars slightly offset from their standard indice...

oltre 2 anni ago | 0 answers | 0

Question

Removing the zero that precedes the decimal point

I would like to have numbers between 0 and 1 be displayed such as .64 instead of 0.64, i.e. omitting the initial zero. Since ...

oltre 2 anni ago | 3 answers | 0

Question

Variable highlighting sometimes doesn't work (Editor)

With some variables, clicking on them in the Editor does not highlight other occurrences of that same variable within the curren...

oltre 2 anni ago | 1 answer | 1

Question

Data Cursor tool shows value close (but not equal) to actually plotted value, not a rounding issue

I have a series of subplots each of which plots blue data points (representing values of 1D vectors) at corresponding x location...

circa 3 anni ago | 0 answers | 0

Question

Defining&visualising 3-or-more-dimensional arrays using the Variables/Workspace window

I'd like to use the Variables/Workspace window to visually define a 3D array consisting of N matrices, by pasting the values of ...

circa 3 anni ago | 1 answer | 0

Question

Mixed-effects model for response data (fitlme)

I have preference ratings (integers from 1-to-7) for k=80 stimuli, obtained from N=30 subjects. I want to use a mixed-effects mo...

circa 3 anni ago | 0 answers | 0