Re: [Scilab-users] Default grid color = grey? Increase the zoom factor (per wheel step)?

2021-02-12 Thread Claus Futtrup

Hi Scilabers and Samuel

I normally don't have good luck with zoom or rotate functions, so I 
don't use this feature, but I also rarely am plotting in 3D - and in 
classic 2D I just continue until I have the right plot size (no need to 
zoom).


P.S. For grid color, it's OK to keep it black and avoid trouble with 
colormaps.


P.P.S. Regarding the size of the plot window (figure.size), it's 
standard [626,587] and I find it a bit small. Maybe it's a good size if 
your screen is 1024 x 768 (?), but I think most computers these days are 
with 1366 x 768 or larger screens (mine is 1920 x 1080 on a 14 inch 
screen). We should avoid the plot window to be too big for anybody (that 
would be frustrating), but could the plot be rescaled depending on 
screen resolution? I find myself typically increasing figure.size by 50%.


Best regards,
Claus

On 13-02-2021 00:14, Samuel Gougeon wrote:


Dear all,

*1)*
After 
http://mailinglists.scilab.org/Scilab-users-Default-x-y-z-labels-and-title-font-size-2-tp4041291p4041297.html 
:


Le 02/02/2021 à 17:02, Claus Futtrup a écrit :

.../...
You mention grid. I always do xgrid(color("grey70"));


So do i.


... is this default now, to have the grid a bit greyed?


The issue with a non black or white color is that, if the current 
colormap does not have it, then the color is automatically appended to 
the colormap.
With the current colormap implementation as a figure's property, this 
may have some side effects for plotting functions like grayplot() 
whose rendering in "scaled" mode spans the whole colormap, including 
the appended gray that we do not wish to include in the plot rendering...


This is why carefully tuning the default grid style /density/ was 
required, as discussed in the description of the report #15421 
, implemented in Scilab 6.0.2 (so 
even before 6.1.0).



*2)* Too small zoom factor
On any graphic, zooming by a factor 2 (in size) requires 11 wheel steps!
To me, this is too slow. In another similar software, /each/ wheel 
step increases the scale by the same factor 2.
This is likely too much, but don't you think we could increase a bit 
the Scilab zoom factor?


Hope reading you soon.

Regards
Samuel


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Default grid color = grey? Increase the zoom factor (per wheel step)?

2021-02-12 Thread Samuel Gougeon

Dear all,

*1)*
After 
http://mailinglists.scilab.org/Scilab-users-Default-x-y-z-labels-and-title-font-size-2-tp4041291p4041297.html 
:


Le 02/02/2021 à 17:02, Claus Futtrup a écrit :

.../...
You mention grid. I always do xgrid(color("grey70"));


So do i.


... is this default now, to have the grid a bit greyed?


The issue with a non black or white color is that, if the current 
colormap does not have it, then the color is automatically appended to 
the colormap.
With the current colormap implementation as a figure's property, this 
may have some side effects for plotting functions like grayplot() whose 
rendering in "scaled" mode spans the whole colormap, including the 
appended gray that we do not wish to include in the plot rendering...


This is why carefully tuning the default grid style /density/ was 
required, as discussed in the description of the report #15421 
, implemented in Scilab 6.0.2 (so even 
before 6.1.0).



*2)* Too small zoom factor
On any graphic, zooming by a factor 2 (in size) requires 11 wheel steps!
To me, this is too slow. In another similar software, /each/ wheel step 
increases the scale by the same factor 2.
This is likely too much, but don't you think we could increase a bit the 
Scilab zoom factor?


Hope reading you soon.

Regards
Samuel

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Default x|y|z labels and title font size = 2?

2021-02-12 Thread Samuel Gougeon

Le 12/02/2021 à 22:45, Samuel Gougeon a écrit :

Le 02/02/2021 à 09:39, CRETE Denis a écrit :


.../... I actually defined a function to perform xtitle and 
immediately increase font sizes for the axes labels, axis titles and 
title of the figure. I originally set them to a size of 2 for the 
labels and 3 for the titles.


So do i. But technically speaking, setting a different default value 
for the title is much harder (to me. I got lost in the code..).




Finally, it should be OK for fontsize=2 for xyz labels, and fontsize=3 
for the title.


Regards

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Default x|y|z labels and title font size = 2?

2021-02-12 Thread Samuel Gougeon

Dear all,

Thank you for your comments.

Le 02/02/2021 à 17:02, Claus Futtrup a écrit :

Hi Samuel

I agree. The font is always too small. The font = 2 seems to be the 
smallest feasible increment and it sounds like a good one (i.e. 
without overdoing it).


I agree, 2 is a minimal value.  Unless there are more "votes" for 3, 
let's propose this new default value = 2 for Scilab 6.1.1.


Le 02/02/2021 à 09:39, CRETE Denis a écrit :


.../... I actually defined a function to perform xtitle and 
immediately increase font sizes for the axes labels, axis titles and 
title of the figure. I originally set them to a size of 2 for the 
labels and 3 for the titles.


So do i. But technically speaking, setting a different default value for 
the title is much harder (to me. I got lost in the code..).
As well, detecting when the input is some LaTeX content and then 
increase the default font size is technically more complicated.

Let's start with a simple but urgent improvement.

Still, the reviewers for publications seldom complain about too large 
font sizes, much more about too small font sizes! For these 
applications, the risk of having to change the font sizes upon 
revision of a paper is smaller with default font sizes of 3 for the 
labels and 4 (or even 5 when LaTeX style is used) for the titles


Right. I am afraid that some "final touch" will anyway most often be 
required, depending on the Reviewer, the Editor, etc.



Le 02/02/2021 à 17:02, Claus Futtrup a écrit :
You mention grid. I always do xgrid(color("grey70")); ... is this 
default now, to have the grid a bit greyed?



That's something else, to be discussed in another thread.

Thanks
Samuel

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab & cdf-file format

2021-02-12 Thread Samuel Gougeon

Le 12/02/2021 à 15:55, arctica1963 a écrit :

Hello

There is a toolbox for 5.5.2 called scinetcdf which will work - this will
work with the standard netCDF format. However, it will not work in version
6.x of Scilab. Perhaps a Scilab expert could look at how to get it compiled
for the latest Scilab?

Previous thread about this topic:
http://mailinglists.scilab.org/Scilab-users-Getting-netCDF-files-into-Scilab-6-0-1-tp4038278p4038374.html
https://atoms.scilab.org/toolboxes/scinetcdf/1.2#comment3102

Regards
Samuel

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab & cdf-file format

2021-02-12 Thread arctica1963
Hello

There is a toolbox for 5.5.2 called scinetcdf which will work - this will
work with the standard netCDF format. However, it will not work in version
6.x of Scilab. Perhaps a Scilab expert could look at how to get it compiled
for the latest Scilab?

Cheers

Lester



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users