[LON-CAPA-users] Polar Format gnuplots

Raeburn, Stuart raeburn at msu.edu
Fri May 1 19:38:23 EDT 2020


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-bounces at mail.lon-capa.org> on behalf of Harding, Gene L <glhardin at 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$>



More information about the LON-CAPA-users mailing list