Re: Plot Numbering Font Size
John Frain via Help-octave <[email protected]> Thu, 21 Sep 2023 14:10:58 +0100
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAJWf-12ed8eFkttU_0m=pGSMF47EOXDD6OsoHsE_3dFH16jU-w@mail.gmail.com> |
--===============1709054529708228831== Content-Type: multipart/alternative; boundary="000000000000c0c5d90605de392d" --000000000000c0c5d90605de392d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Minimize octave and check if the graph is hidden under the octave window. In Windows you may also be able to open the graph window using the task bar John C Frain 3 Aranleigh Park Rathfarnham Dublin 14 Ireland www.tcd.ie/Economics/staff/frainj/home.html https://jcfrain.wordpress.com/ https://jcfraincv19.wordpress.com/ mailto:[email protected] mailto:[email protected] On Thu, 21 Sept 2023 at 01:23, Samuel Doughty <[email protected]> wrote: > Hello All, > > I followed Dimitri's suggestion and incorporated it into the code below. > It will work one time, and then it hands up and produces no plot. What am= I > missing? What does the first argument in the set(0 ...) do? Thanks, > > Sam > > On Wed, Sep 20, 2023 at 7:04=E2=80=AFPM Samuel Doughty <sdoughty11@gmail.= com> > wrote: > >> Thank you, Dimitri!! >> >> That's wonderful! It works! >> >> Sam >> >> On Wed, Sep 20, 2023 at 7:01=E2=80=AFPM Dmitri A. Sergatskov < >> [email protected]> wrote: >> >>> set (0, "defaultaxesfontsize", 24) >>> plot(1:10) >>> >>> Dmitri. >>> -- >>> >>> >>> On Wed, Sep 20, 2023 at 7:58=E2=80=AFPM Samuel Doughty <sdoughty11@gmai= l.com> >>> wrote: >>> >>>> Hello All, >>>> >>>> Thanks for all your replies. Perhaps I was unclear. What I want to do >>>> is to enlarge the numbers that appear along the axes, e.g. 0 1 2 3 4 .= .. >>>> along the x-axis and similarly along the y-axis. I found nothing in yo= ur >>>> suggestions that seemed to accomplish this task. Please give me some o= ther >>>> guidance. Thanks, >>>> >>>> Sam >>>> >>>> On Wed, Sep 20, 2023 at 6:26=E2=80=AFPM Santiago Higuera < >>>> [email protected]> wrote: >>>> >>>>> You can put the property values while plotting: >>>>> >>>>> plot(x,y); >>>>> >>>>> xlabel('X', 'fontsize', 20); >>>>> >>>>> title('My plot', 'fontweight', 'bold', ''fontsize', '20'); >>>>> >>>>> Or using set(), as says Nicholas. >>>>> >>>>> Regards, >>>>> >>>>> Santiago >>>>> >>>>> >>>>> Or you can use set() >>>>> El 21/9/23 a las 0:05, Nicholas Jankowski escribi=C3=B3: >>>>> >>>>> > How in the world can I get larger numbers on the plot axes? >>>>> >>>>> Use the `set` command to change properties like fontsize. >>>>> See https://docs.octave.org/v8.3.0/Axes-Properties.html >>>>> >>>>> ---------- >>>>> We are transitioning to a web based forum >>>>> for community help discussions athttps://octave.discourse.group/c/hel= p >>>>> >>>>> >>>> ---------- >>>> We are transitioning to a web based forum >>>> for community help discussions at >>>> https://octave.discourse.group/c/help >>>> >>> > ---------- > We are transitioning to a web based forum > for community help discussions at > https://octave.discourse.group/c/help > --000000000000c0c5d90605de392d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Minimize octave and check if the graph is hidden under the= octave window.=C2=A0 In Windows you may also be able to open the graph win= dow using the task bar<div><br></div><div><br clear=3D"all"><div><div dir= =3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div = dir=3D"ltr"><div style=3D"color:rgb(34,34,34)">John C Frain<br></div><span = style=3D"color:rgb(34,34,34)">3 Aranleigh Park</span><br style=3D"color:rgb= (34,34,34)"><div style=3D"color:rgb(34,34,34)"><div>Rathfarnham<br>Dublin 1= 4<br>Ireland<br><a href=3D"http://www.tcd.ie/Economics/staff/frainj/home.ht= ml" style=3D"color:rgb(17,85,204)" target=3D"_blank">www.tcd.ie/Economics/s= taff/frainj/home.html</a></div><div><a href=3D"https://jcfrain.wordpress.co= m/" style=3D"color:rgb(17,85,204)" target=3D"_blank">https://jcfrain.wordpr= ess.com/</a></div><div><a href=3D"https://jcfraincv19.wordpress.com/" style= =3D"color:rgb(17,85,204)" target=3D"_blank">https://jcfraincv19.wordpress.c= om/</a><br></div><div><br>mailto:<a href=3D"mailto:[email protected]" style=3D"= color:rgb(17,85,204)" target=3D"_blank">[email protected]</a><br>mailto:<a href= =3D"mailto:[email protected]" style=3D"color:rgb(17,85,204)" target=3D"_blan= k">[email protected]</a></div></div></div></div></div><br></div></div><br><d= iv class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 21 S= ept 2023 at 01:23, Samuel Doughty <<a href=3D"mailto:[email protected]= m">[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_= quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,= 204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" style= =3D"font-family:"comic sans ms",sans-serif;font-size:large">Hello= All,</div><div class=3D"gmail_default" style=3D"font-family:"comic sa= ns ms",sans-serif;font-size:large"><br></div><div class=3D"gmail_defau= lt" style=3D"font-family:"comic sans ms",sans-serif;font-size:lar= ge">I followed Dimitri's suggestion and incorporated it into the code b= elow. It will work one time, and then it hands up and produces no plot. Wha= t am I missing? What does the first argument in the set(0 ...) do? Thanks,<= /div><div class=3D"gmail_default" style=3D"font-family:"comic sans ms&= quot;,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" st= yle=3D"font-family:"comic sans ms",sans-serif;font-size:large">Sa= m<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g= mail_attr">On Wed, Sep 20, 2023 at 7:04=E2=80=AFPM Samuel Doughty <<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</= a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p= x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><d= iv dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:"comi= c sans ms",sans-serif;font-size:large">Thank you, Dimitri!!</div><div = class=3D"gmail_default" style=3D"font-family:"comic sans ms",sans= -serif;font-size:large"><br></div><div class=3D"gmail_default" style=3D"fon= t-family:"comic sans ms",sans-serif;font-size:large">That's w= onderful! It works!</div><div class=3D"gmail_default" style=3D"font-family:= "comic sans ms",sans-serif;font-size:large"><br></div><div class= =3D"gmail_default" style=3D"font-family:"comic sans ms",sans-seri= f;font-size:large">Sam<br></div></div><br><div class=3D"gmail_quote"><div d= ir=3D"ltr" class=3D"gmail_attr">On Wed, Sep 20, 2023 at 7:01=E2=80=AFPM Dmi= tri A. Sergatskov <<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>> wrote:<br></div><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" = style=3D"font-family:monospace;font-size:large">set (0, "defaultaxesfo= ntsize", 24)<br></div><div class=3D"gmail_default" style=3D"font-famil= y:monospace;font-size:large">plot(1:10)<br></div><div class=3D"gmail_defaul= t" style=3D"font-family:monospace;font-size:large"><br></div><div class=3D"= gmail_default" style=3D"font-family:monospace;font-size:large">Dmitri.</div= ><div class=3D"gmail_default" style=3D"font-family:monospace;font-size:larg= e">--=C2=A0</div><div class=3D"gmail_default" style=3D"font-family:monospac= e;font-size:large"><br></div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Wed, Sep 20, 2023 at 7:58=E2=80=AFPM Samue= l Doughty <<a href=3D"mailto:[email protected]" target=3D"_blank">sdo= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote"= style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p= adding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:"comic sans ms",sans-serif;font-size:large">Hello All,</= div><div class=3D"gmail_default" style=3D"font-family:"comic sans ms&q= uot;,sans-serif;font-size:large"><br></div><div class=3D"gmail_default" sty= le=3D"font-family:"comic sans ms",sans-serif;font-size:large">Tha= nks for all your replies. Perhaps I was unclear. What I want to do is to en= large the numbers that appear along the axes, e.g. 0 1 2 3 4 ... along the = x-axis and similarly along the y-axis. I found nothing in your suggestions = that seemed to accomplish this task. Please give me some other guidance. Th= anks,</div><div class=3D"gmail_default" style=3D"font-family:"comic sa= ns ms",sans-serif;font-size:large"><br></div><div class=3D"gmail_defau= lt" style=3D"font-family:"comic sans ms",sans-serif;font-size:lar= ge">Sam<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" clas= s=3D"gmail_attr">On Wed, Sep 20, 2023 at 6:26=E2=80=AFPM Santiago Higuera &= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">shiguera@m= ercatorlab.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex"><u></u> =20 =20 =20 <div> <p>You can put the property values while plotting:<br> </p> <p>=C2=A0=C2=A0 plot(x,y);</p> <p>=C2=A0=C2=A0 xlabel('X', 'fontsize', 20);</p> <p>=C2=A0=C2=A0 title('My plot', 'fontweight', 'bol= d', ''fontsize', '20');</p> <p>Or using set(), as says Nicholas.</p> <p>Regards,</p> <p>Santiago</p> <p><br> </p> <p>Or you can use set()<br> </p> <div>El 21/9/23 a las 0:05, Nicholas Jankowski escribi=C3=B3:<br> </div> <blockquote type=3D"cite"> =20 <div dir=3D"auto"> <div class=3D"gmail_quote" dir=3D"auto"> <div dir=3D"ltr" class=3D"gmail_attr">>=C2=A0<span style=3D"fo= nt-family:"comic sans ms",sans-serif">How in the world can I get larger numbers on the plot axes?=C2=A0= </span></div> <div dir=3D"ltr" class=3D"gmail_attr"><span style=3D"font-family:= "comic sans ms",sans-serif"><br> </span></div> <div dir=3D"ltr" class=3D"gmail_attr"><font face=3D"comic sans ms= , sans-serif">Use the `set` command to change properties like fontsize.=C2=A0=C2=A0</font></div> <div dir=3D"ltr" class=3D"gmail_attr"><span style=3D"font-family:= "comic sans ms",sans-serif">See=C2=A0</span><font face=3D"comic s= ans ms, sans-serif"><a href=3D"https://docs.octave.org/v8.3.0/Axes-Properti= es.html" target=3D"_blank">https://docs.octave.org/v8.3.0/Axes-Properties.h= tml</a></font></div> </div> </div> <br> <fieldset></fieldset> <pre>---------- We are transitioning to a web based forum for community help discussions at <a href=3D"https://octave.discourse.group/c/help" target=3D"_blank">https:/= /octave.discourse.group/c/help</a> </pre> </blockquote> </div> </blockquote></div> <br> ----------<br> We are transitioning to a web based forum<br> for community help discussions at<br> <a href=3D"https://octave.discourse.group/c/help" rel=3D"noreferrer" target= =3D"_blank">https://octave.discourse.group/c/help</a><br> </blockquote></div> </blockquote></div> </blockquote></div> <br> ----------<br> We are transitioning to a web based forum<br> for community help discussions at<br> <a href=3D"https://octave.discourse.group/c/help" rel=3D"noreferrer" target= =3D"_blank">https://octave.discourse.group/c/help</a><br> </blockquote></div> --000000000000c0c5d90605de392d-- --===============1709054529708228831== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n cm91cC9jL2hlbHAK --===============1709054529708228831==--