[scilab-Users] RE: xgrid and plot2d, Sci4.0
Edmanuel Torres
gnusci at gmail.com
Wed Jul 9 13:53:58 CEST 2008
I highly recommend you to upgrade, cause can be a bug and you will
stay forever trying to figure out the problem.
On Wed, Jul 9, 2008 at 11:42 AM, Jean-Yves Baudais
<jean-yves.baudais at insa-rennes.fr> wrote:
> Hi,
>
> From Edmanuel Torres:
>>
>> It works fine for me too in Scilab 4.1.2, I can see a black plotted
>> curve on a pink square grid. Try changing the order of the
>> instructions:
>
> Grrrrr!! Is it a Scilab 4.0 behavior?
>
>> plot2d(0,0,rect=[0,0,10,10])
>> plot2d(1:10,matrix([1:5;1:5],1,-1),frameflag=0)
>> xgrid(31)
>
> It is the same, xgrid() is over the curve
>
>> Check whether you can see the the grid cause is pretty faded, or
>> trying changing the colour of the grid:
>> xgrid(11)
>
> Color 1 and 11 are very similar so the difference is not visible! I try
>
> a)
> sci> xdel()
> sci> plot2d(1:10,matrix([1:5;1:5],1,-1),style=4)
> sci> xgrid()
>
> b)
> sci> xdel()
> sci> plot2d(1:10,matrix([1:5;1:5],1,-1),style=1)
> sci> xgrid(4)
>
> and it is the same: the grid is over the curve. I try also
>
> c)
> sci> xdel()
> sci> plot2d(1:10,matrix([1:5;1:5],1,-1),style=4)
> sci> xgrid()
> sci> plot2d(1:10,matrix([1:5;1:5],1,-1),style=4,frameflag=0)
>
> d)
> sci> xdel()
> sci> plot2d(1:10,matrix([1:5;1:5],1,-1),style=1)
> sci> xgrid(4)
> sci> plot2d(1:10,matrix([1:5;1:5],1,-1),style=1,frameflag=0)
>
> but without success (the curve is dashed by the grid and I don't want that).
> Is the only solution to change Scilab version?
>
> -- Jyb
>
--
---
Cheers,
Gnusci
More information about the users
mailing list