Plotting angle vs radius in polar coordinates in gnuplot












1















I have a dataset with radius values under X column and angle values in multiple Y columns.



Radius (X)  Angle1(Y1)  Angle2(Y2)  Angle3(Y3)
281 55.4 91.2 93.0
282 63.5 92.4 86.0
283 67.7 95.7 90.5
284 62.9 93.9 92.8
285 63.8 100.2 91.5
286 64.7 91.8 85.3
287 69.3 93.1 89.2
288 68.2 97.2 85.5


However, gnuplot polar mode treats angle as X and radius as Y.



Is there any way to invert this behaviour to plot the dataset (and optionally smooth the data)? Or any better-suited linux software for the task?










share|improve this question























  • @Christoph, please read the question before commenting.

    – Xoden
    Nov 16 '18 at 13:53






  • 1





    Indeed. Specify the respective columns in your plot command: set polar; plot "file" using 2:1

    – Christoph
    Nov 16 '18 at 16:57











  • @Christoph, thank you for your attempt, but pointing out basic commands is pretty useless. Iknow the basics of plotting and can read a manual. I was asking if there is way that does not require putting the horse before the cart each and every time.

    – Xoden
    Dec 12 '18 at 6:47













  • You asked how to exchange interpretation of angle and radius and I told you how to do that. That the way is simple but doesn't match your expectation doesn't make it wrong. If you want a different default behaviour should have asked more precisely. In any case, since you haven't shown any line of gnuplot code, guessing is all what remains. Good luck

    – Christoph
    Dec 12 '18 at 19:03
















1















I have a dataset with radius values under X column and angle values in multiple Y columns.



Radius (X)  Angle1(Y1)  Angle2(Y2)  Angle3(Y3)
281 55.4 91.2 93.0
282 63.5 92.4 86.0
283 67.7 95.7 90.5
284 62.9 93.9 92.8
285 63.8 100.2 91.5
286 64.7 91.8 85.3
287 69.3 93.1 89.2
288 68.2 97.2 85.5


However, gnuplot polar mode treats angle as X and radius as Y.



Is there any way to invert this behaviour to plot the dataset (and optionally smooth the data)? Or any better-suited linux software for the task?










share|improve this question























  • @Christoph, please read the question before commenting.

    – Xoden
    Nov 16 '18 at 13:53






  • 1





    Indeed. Specify the respective columns in your plot command: set polar; plot "file" using 2:1

    – Christoph
    Nov 16 '18 at 16:57











  • @Christoph, thank you for your attempt, but pointing out basic commands is pretty useless. Iknow the basics of plotting and can read a manual. I was asking if there is way that does not require putting the horse before the cart each and every time.

    – Xoden
    Dec 12 '18 at 6:47













  • You asked how to exchange interpretation of angle and radius and I told you how to do that. That the way is simple but doesn't match your expectation doesn't make it wrong. If you want a different default behaviour should have asked more precisely. In any case, since you haven't shown any line of gnuplot code, guessing is all what remains. Good luck

    – Christoph
    Dec 12 '18 at 19:03














1












1








1








I have a dataset with radius values under X column and angle values in multiple Y columns.



Radius (X)  Angle1(Y1)  Angle2(Y2)  Angle3(Y3)
281 55.4 91.2 93.0
282 63.5 92.4 86.0
283 67.7 95.7 90.5
284 62.9 93.9 92.8
285 63.8 100.2 91.5
286 64.7 91.8 85.3
287 69.3 93.1 89.2
288 68.2 97.2 85.5


However, gnuplot polar mode treats angle as X and radius as Y.



Is there any way to invert this behaviour to plot the dataset (and optionally smooth the data)? Or any better-suited linux software for the task?










share|improve this question














I have a dataset with radius values under X column and angle values in multiple Y columns.



Radius (X)  Angle1(Y1)  Angle2(Y2)  Angle3(Y3)
281 55.4 91.2 93.0
282 63.5 92.4 86.0
283 67.7 95.7 90.5
284 62.9 93.9 92.8
285 63.8 100.2 91.5
286 64.7 91.8 85.3
287 69.3 93.1 89.2
288 68.2 97.2 85.5


However, gnuplot polar mode treats angle as X and radius as Y.



Is there any way to invert this behaviour to plot the dataset (and optionally smooth the data)? Or any better-suited linux software for the task?







plot gnuplot polar-coordinates






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 16 '18 at 12:16









XodenXoden

62




62













  • @Christoph, please read the question before commenting.

    – Xoden
    Nov 16 '18 at 13:53






  • 1





    Indeed. Specify the respective columns in your plot command: set polar; plot "file" using 2:1

    – Christoph
    Nov 16 '18 at 16:57











  • @Christoph, thank you for your attempt, but pointing out basic commands is pretty useless. Iknow the basics of plotting and can read a manual. I was asking if there is way that does not require putting the horse before the cart each and every time.

    – Xoden
    Dec 12 '18 at 6:47













  • You asked how to exchange interpretation of angle and radius and I told you how to do that. That the way is simple but doesn't match your expectation doesn't make it wrong. If you want a different default behaviour should have asked more precisely. In any case, since you haven't shown any line of gnuplot code, guessing is all what remains. Good luck

    – Christoph
    Dec 12 '18 at 19:03



















  • @Christoph, please read the question before commenting.

    – Xoden
    Nov 16 '18 at 13:53






  • 1





    Indeed. Specify the respective columns in your plot command: set polar; plot "file" using 2:1

    – Christoph
    Nov 16 '18 at 16:57











  • @Christoph, thank you for your attempt, but pointing out basic commands is pretty useless. Iknow the basics of plotting and can read a manual. I was asking if there is way that does not require putting the horse before the cart each and every time.

    – Xoden
    Dec 12 '18 at 6:47













  • You asked how to exchange interpretation of angle and radius and I told you how to do that. That the way is simple but doesn't match your expectation doesn't make it wrong. If you want a different default behaviour should have asked more precisely. In any case, since you haven't shown any line of gnuplot code, guessing is all what remains. Good luck

    – Christoph
    Dec 12 '18 at 19:03

















@Christoph, please read the question before commenting.

– Xoden
Nov 16 '18 at 13:53





@Christoph, please read the question before commenting.

– Xoden
Nov 16 '18 at 13:53




1




1





Indeed. Specify the respective columns in your plot command: set polar; plot "file" using 2:1

– Christoph
Nov 16 '18 at 16:57





Indeed. Specify the respective columns in your plot command: set polar; plot "file" using 2:1

– Christoph
Nov 16 '18 at 16:57













@Christoph, thank you for your attempt, but pointing out basic commands is pretty useless. Iknow the basics of plotting and can read a manual. I was asking if there is way that does not require putting the horse before the cart each and every time.

– Xoden
Dec 12 '18 at 6:47







@Christoph, thank you for your attempt, but pointing out basic commands is pretty useless. Iknow the basics of plotting and can read a manual. I was asking if there is way that does not require putting the horse before the cart each and every time.

– Xoden
Dec 12 '18 at 6:47















You asked how to exchange interpretation of angle and radius and I told you how to do that. That the way is simple but doesn't match your expectation doesn't make it wrong. If you want a different default behaviour should have asked more precisely. In any case, since you haven't shown any line of gnuplot code, guessing is all what remains. Good luck

– Christoph
Dec 12 '18 at 19:03





You asked how to exchange interpretation of angle and radius and I told you how to do that. That the way is simple but doesn't match your expectation doesn't make it wrong. If you want a different default behaviour should have asked more precisely. In any case, since you haven't shown any line of gnuplot code, guessing is all what remains. Good luck

– Christoph
Dec 12 '18 at 19:03












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53337741%2fplotting-angle-vs-radius-in-polar-coordinates-in-gnuplot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53337741%2fplotting-angle-vs-radius-in-polar-coordinates-in-gnuplot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()