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

classic Classic list List threaded Threaded
9 messages Options
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

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

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?
Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"

subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d

subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
David Chèze David Chèze
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

Dear Samuel,

 

I also have the same feeling that larger default font size would suit better, most of the time, as in the end the figures worked and analysed in Scilab environment are inserted into reports.

 

Regards,

 

David

 

De : users <[hidden email]> De la part de Samuel Gougeon
Envoyé : lundi 1 février 2021 23:27
À : International users mailing list for Scilab. <[hidden email]>
Objet : [Scilab-users] Default x|y|z labels and title font size = 2?

 

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?
Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"
 
subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d
 
subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Denis Crété Denis Crété
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

In reply to this post by Samuel GOUGEON

Hello ,

Very good idea !

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.

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 …

Best regards

Denis

De : users <[hidden email]> De la part de Samuel Gougeon
Envoyé : lundi 1 février 2021 23:27
À : International users mailing list for Scilab.
<[hidden email]>
Objet : [Scilab-users] Default x|y|z labels and title font size = 2?

 

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?
Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"
 
subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d
 
subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d


cid:image001.png@01D6F93C.C37F9280


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Denis Crété
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

In reply to this post by Samuel GOUGEON

Hi,

+1 for this missing feature. But since the name of the concerned Label entity property of is "font_size" I would recommend to use it instead of "fontsize".

S.

Le 01/02/2021 à 23:26, Samuel Gougeon a écrit :

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?
Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"

subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d

subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d



_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant Antoine Monmayrant
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

In reply to this post by Samuel GOUGEON

Hello Samuel,


Le 01/02/2021 à 23:26, Samuel Gougeon a écrit :

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?

Yes!

Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

Indeed, I usually use font_size=4 or 5 when using LaTeX strings.


This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

I have a comment concerning the syntax.
I'm not particularly fan of the "inline" syntax without parenthesis.

Is your:

    xlabel "Title for abscissas" fontsize 2

syntaxic sugar for

    xlabel( "Title for abscissas", fontsize=2)

or something equivalent?

Antoine


Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"

subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d

subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

In reply to this post by David Chèze
Dear Samual,

thanks for the proposal...I fully agree with it.

Best Regards,
Philipp


Am Di., 2. Feb. 2021 um 09:53 Uhr schrieb CHEZE David 227480 <[hidden email]>:

Dear Samuel,

 

I also have the same feeling that larger default font size would suit better, most of the time, as in the end the figures worked and analysed in Scilab environment are inserted into reports.

 

Regards,

 

David

 

De : users <[hidden email]> De la part de Samuel Gougeon
Envoyé : lundi 1 février 2021 23:27
À : International users mailing list for Scilab. <[hidden email]>
Objet : [Scilab-users] Default x|y|z labels and title font size = 2?

 

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?
Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"
 
subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d
 
subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Claus Futtrup Claus Futtrup
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

In reply to this post by Samuel GOUGEON
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).

You mention grid. I always do xgrid(color("grey70")); ... is this default now, to have the grid a bit greyed?

Cheers,
Claus

On 01-02-2021 23:26, Samuel Gougeon wrote:

Dear all,

After having changed the default grid style in Scilab 6.1.0, i propose to go on, tuning more carefully the default font size of axes labels.

Each time that i define a xlabel, ylabel or sometimes zlabel, and a title, i have also to set explicitly their fontsize property, because i find the default size=1 always too small.
Is it also your usage?
Indeed, the font size = 1 is fine for ticks labels. From here, axes labels must be displayed with a bigger font size.
Sometime size=2 is still not enough, noticeably with a LaTeX content. But well, then we can actually use an explicit fontsize setting.

This proposal impacts everybody and frequently, because making plots is a basic task in Scilab
Every comment is welcome, before implementing this simple change.

Hope reading you soon.

Samuel Gougeon

clf
subplot(1,3,1)
plot2d
xlabel "Title for abscissas"
ylabel "Title for ordinates"

subplot(1,3,2)
xlabel "Title for abscissas" fontsize 2
ylabel "Title for ordinates" fontsize 2
plot2d

subplot(1,3,3)
xlabel "$\alpha\text{ coefficient }[m^{-1}]$" fontsize 2
ylabel "$\beta\text{ result }[lm^{-1}]$" fontsize 2
plot2d



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Default x|y|z labels and title font size = 2?

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/users