[Solved] Plotting discontinuous function in MATLAB/Octave


In Octave, you can decrease the size of the marker like this:

x = 0:0.1:100;
fx = rand(length(x), 1)';
plot(x, fx, ".", "markersize", 1)

2

solved Plotting discontinuous function in MATLAB/Octave