[Scilab-users] grayplot - colorbar

Rafael Guerra jrafaelbguerra at hotmail.com
Wed Nov 30 01:06:23 CET 2016


Hallo,

Yes, with the workaround indicated a grid is displayed (bottom plot of attached figure).
However, the axis ticks & labels do not align properly with the matrix cells as they do in the top plot.
Do you observe the same?

PS:
In the example shown the data plotted with Matplot1 was generated with:
      dxp= linspace(-5,15,3);
      dyp= linspace(-3,11,4);
      M= rand(dxp.*.dyp'); 

Regards,
Rafael


-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of SCHULZ Wolfgang
Sent: Tuesday, November 29, 2016 10:29 AM
To: Users mailing list for Scilab <users at lists.scilab.org>
Subject: Re: [Scilab-users] grayplot - colorbar

Hello,
thanks again - it works for me now.

As a simple workaround for the grid problem I use a plot(0,0), xgrid and it works too

Woflgang

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Matplot_grid_and_axis.pdf
Type: application/pdf
Size: 50133 bytes
Desc: Matplot_grid_and_axis.pdf
URL: <https://lists.scilab.org/pipermail/users/attachments/20161130/35c4b0f1/attachment.pdf>


More information about the users mailing list