how to plot markers on graph with different color
===

I now have such code:

    fDeals = fopen([logsFolder stock '_deals.log']);
    data = textscan(fDeals, '%f:%f:%f:%f %f,%f %f,%f %f,%f %f');
    fclose(fDeals);

    % hh:min:sec:millisec
    secvec = [60*60 60 1 1e-3];
    x = [data{1:4}] * secvec';

    flvec = [1 1e-16];
    y = [data{5:6}] * flvec';

    ammount = data{11};

    xindays = x / (24*60*60);

    plot(xindays, y, 'go','MarkerSize',6,'LineWidth',3);

It works fine but it always create green marker. I need to create green marker if amount > 0 otherwise I want to create red marker. How to do that?

Likely i should create separate `xGreen`, `xRed`, `yGreen`, `yRed` arrays, but then I need to separate file lines into two groups somehow - lines with >0 amount and lines with <0 amount (amount is never 0).