Hey,
I have trouble using histogram in a parfor-loop. Below is a minimal-working-example of my problem:
parfor idx = 1:2 x = randn(1,50*idx); f = figure() histogram(x,'Normalization','pdf') drawnowend
This gives me the response:
Error using histogram (line 140)Transparency violation error. See Parallel Computing Toolbox documentation about TransparencyError in untitled6 (line 3)parfor idx = 1:2
I get the error with both R2018a and R2018b
Best regards,
Best Answer