Oh, wow. I just realized my email was not "connected" for some reason. Thanks 
Stuart! I will play with the code you sent a bit.
BR,

Gene L. Harding, PE
Associate Professor of ECET
Purdue University
574-520-4190
https://polytechnic.purdue.edu/south-bend/

-----Original Message-----
From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> On Behalf Of 
Raeburn, Stuart
Sent: Friday, May 1, 2020 7:38 PM
To: Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org>
Subject: Re: [LON-CAPA-users] Polar Format gnuplots

Gene,

>
> I am having trouble getting the angle to display around the perimeter.
>

One solution is to create 12 labels at the appropriate positions around the 
perimeter.  See example below:

<problem>
<gnuplot width="300" transparent="on" samples="100" grid="on" font="10" 
bgcolor="#ffffff" height="300" align="left" fgcolor="#000000" border="on" 
plottype="Polar" gridtype="Polar"> <curve linestyle="linespoints" name="Rose 
Plot" pointtype="0" color="#000000"> <function>2*sin(4*t)</function> </curve>
    <axis yzero="off" xformat="off" xmin="-2" yformat="off" color="#000000" 
ymax="2.0" ymin="-2.0" xmax="2.0" xzero="off" />
    <label justify="center" xpos="1.75" rotate="0" ypos="-1">330</label>
    <label justify="center" xpos="1" rotate="0" ypos="-1.75">300</label>
    <label justify="center" xpos="0" rotate="0" ypos="-2">270</label>
    <label justify="center" xpos="-1" rotate="0" ypos="-1.75">240</label>
    <label justify="center" xpos="-1.75" rotate="0" ypos="-1">210</label>
    <label justify="center" xpos="-2" rotate="0" ypos="0">180</label>
    <label justify="center" xpos="-1.75" rotate="0" ypos="1">150</label>
    <label justify="center" xpos="-1" rotate="0" ypos="1.75">120</label>
    <label justify="center" xpos="0" rotate="0" ypos="2">90</label>
    <label justify="center" xpos="1" rotate="0" ypos="1.75">60</label>
    <label justify="center" xpos="1.75" rotate="0" ypos="1">30</label>
    <label justify="center" xpos="2" rotate="0" ypos="0">0</label> </gnuplot> 
</problem>

Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> on behalf of 
Harding, Gene L <glhar...@purdue.edu>
Sent: Friday, May 1, 2020 6:03 PM
To: Discussion list for LON-CAPA users
Subject: [LON-CAPA-users] Polar Format gnuplots

Hi,

Has anyone done polar-format gnuplots in LON-CAPA? Would you be willing to 
share an example? This is my first foray into polar gnuplots. I am having 
trouble getting the angle to display around the perimeter. It's rendering x- 
and y-axis values instead of angle and radius values.

Best regards,

Gene L. Harding, PE
Associate Professor of ECET
Purdue University
574-520-4190
https://polytechnic.purdue.edu/south-bend/<https://urldefense.com/v3/__https://polytechnic.purdue.edu/south-bend/__;!!HXCxUKc!gwnWeIuZbYH7OpyeGkKict-e4U4QcS5Lo7I99h-JRBCP_rH0G096JKDE0u-xZQ$>

_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to