Skip to content

Instantly share code, notes, and snippets.

View allsey87's full-sized avatar

Michael Allwright allsey87

View GitHub Profile
@allsey87
allsey87 / plot_data_from_csv.sce
Last active December 11, 2023 16:59
How to plot data in Scilab from a CSV file (with first line as the header)
clear parse_my_data
clear path
clear inputs
clear index
function parse_my_data(f_data_path)
csv_data = read_csv(f_data_path);
num_data = strtod(csv_data(2:$,1:$));
num_data_points = size(num_data,1);
my_plot = figure();