help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fill again, colors


From: Carine Simon
Subject: fill again, colors
Date: Tue, 11 Jan 2005 09:07:48 -0600
User-agent: Internet Messaging Program (IMP) 3.2.1

Dear all,

I am still with my problem of fill. Thanks to Dmitri, I am going better but I've
still got some problems: I need all the lines of my plot to be of the same
colour (black would be the best) and I can't manage to do it.
Here is what I am doing:
      gset style data filledcurves 
      graw("unset key; ")
      for i=1:d:length(x)
        xt=dx*Data(:,i)'./dmax;
        xt1=xt;xt1(find(xt1>0))=0;
        ## Matlab style:
        ## fill(x(i)+[xt,fliplr(xt1)],[t,fliplr(t)],"k"); %[0 0 0])
        gset style line 1 lt 1
        plot(x(i)+[xt,fliplr(xt1)],[t,fliplr(t)]); # ,"k");
        if i==1, hold on;end
      end

If I directly put plot(x(i)+[xt,fliplr(xt1)],[t,fliplr(t)],"k"), not only the
black is brown but the bigger problem is that the different lines are not filled
anymore (also true with any other colour instead of "k"):
In order to try to be a bit clearer, I send you a file with some simple data to
be able to test the code.
Thanks by advance for your help,
Carine.



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Attachment: donnees
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]