hist(), plot() in octave shows blank screen





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Take a look



Code used:



x =

0.17860 0.85981 0.69683 0.56564 0.55712 0.68452 0.83126 0.11530 0.28621 0.75909

>>y
y =

4.28759 1.07059 1.53263 7.99441 0.98204 3.45242 4.97739 3.38106 4.70819 1.12955

>>plot(x, y)


here's the results



>>version
ans = 4.2.2
>>graphics_toolkit
ans = qt

$ gnuplot --version
gnuplot 5.2 patchlevel 2


i am new to octave but i feel it is not right










share|improve this question

























  • Please edit your question to include the outputs (from the octave console) of the commands version and graphics_toolkit and (from the Ubuntu terminal) gnuplot --version

    – steeldriver
    Mar 28 at 18:21











  • Hmm so it seems like I get the same: try setting graphics_toolkit('fltk') or graphics_toolkit('gnuplot') as suggested here Plot generated in Octave is fully black (both worked for me)

    – steeldriver
    Mar 28 at 19:01






  • 1





    ... or if you want to stick with the qt engine, you can export LIBGL_ALWAYS_SOFTWARE=1 into your environment before running octave as noted here savannah.gnu.org/bugs/?51442

    – steeldriver
    Mar 28 at 19:05











  • well, that worked for me

    – Mudit Kumar Singh
    Mar 28 at 19:13











  • can I have a more of a permanent solution I have to put the cmd every time I close octave

    – Mudit Kumar Singh
    Mar 28 at 19:14


















0















Take a look



Code used:



x =

0.17860 0.85981 0.69683 0.56564 0.55712 0.68452 0.83126 0.11530 0.28621 0.75909

>>y
y =

4.28759 1.07059 1.53263 7.99441 0.98204 3.45242 4.97739 3.38106 4.70819 1.12955

>>plot(x, y)


here's the results



>>version
ans = 4.2.2
>>graphics_toolkit
ans = qt

$ gnuplot --version
gnuplot 5.2 patchlevel 2


i am new to octave but i feel it is not right










share|improve this question

























  • Please edit your question to include the outputs (from the octave console) of the commands version and graphics_toolkit and (from the Ubuntu terminal) gnuplot --version

    – steeldriver
    Mar 28 at 18:21











  • Hmm so it seems like I get the same: try setting graphics_toolkit('fltk') or graphics_toolkit('gnuplot') as suggested here Plot generated in Octave is fully black (both worked for me)

    – steeldriver
    Mar 28 at 19:01






  • 1





    ... or if you want to stick with the qt engine, you can export LIBGL_ALWAYS_SOFTWARE=1 into your environment before running octave as noted here savannah.gnu.org/bugs/?51442

    – steeldriver
    Mar 28 at 19:05











  • well, that worked for me

    – Mudit Kumar Singh
    Mar 28 at 19:13











  • can I have a more of a permanent solution I have to put the cmd every time I close octave

    – Mudit Kumar Singh
    Mar 28 at 19:14














0












0








0








Take a look



Code used:



x =

0.17860 0.85981 0.69683 0.56564 0.55712 0.68452 0.83126 0.11530 0.28621 0.75909

>>y
y =

4.28759 1.07059 1.53263 7.99441 0.98204 3.45242 4.97739 3.38106 4.70819 1.12955

>>plot(x, y)


here's the results



>>version
ans = 4.2.2
>>graphics_toolkit
ans = qt

$ gnuplot --version
gnuplot 5.2 patchlevel 2


i am new to octave but i feel it is not right










share|improve this question
















Take a look



Code used:



x =

0.17860 0.85981 0.69683 0.56564 0.55712 0.68452 0.83126 0.11530 0.28621 0.75909

>>y
y =

4.28759 1.07059 1.53263 7.99441 0.98204 3.45242 4.97739 3.38106 4.70819 1.12955

>>plot(x, y)


here's the results



>>version
ans = 4.2.2
>>graphics_toolkit
ans = qt

$ gnuplot --version
gnuplot 5.2 patchlevel 2


i am new to octave but i feel it is not right







software-installation updates matlab octave






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 18:33







Mudit Kumar Singh

















asked Mar 28 at 17:59









Mudit Kumar SinghMudit Kumar Singh

237




237













  • Please edit your question to include the outputs (from the octave console) of the commands version and graphics_toolkit and (from the Ubuntu terminal) gnuplot --version

    – steeldriver
    Mar 28 at 18:21











  • Hmm so it seems like I get the same: try setting graphics_toolkit('fltk') or graphics_toolkit('gnuplot') as suggested here Plot generated in Octave is fully black (both worked for me)

    – steeldriver
    Mar 28 at 19:01






  • 1





    ... or if you want to stick with the qt engine, you can export LIBGL_ALWAYS_SOFTWARE=1 into your environment before running octave as noted here savannah.gnu.org/bugs/?51442

    – steeldriver
    Mar 28 at 19:05











  • well, that worked for me

    – Mudit Kumar Singh
    Mar 28 at 19:13











  • can I have a more of a permanent solution I have to put the cmd every time I close octave

    – Mudit Kumar Singh
    Mar 28 at 19:14



















  • Please edit your question to include the outputs (from the octave console) of the commands version and graphics_toolkit and (from the Ubuntu terminal) gnuplot --version

    – steeldriver
    Mar 28 at 18:21











  • Hmm so it seems like I get the same: try setting graphics_toolkit('fltk') or graphics_toolkit('gnuplot') as suggested here Plot generated in Octave is fully black (both worked for me)

    – steeldriver
    Mar 28 at 19:01






  • 1





    ... or if you want to stick with the qt engine, you can export LIBGL_ALWAYS_SOFTWARE=1 into your environment before running octave as noted here savannah.gnu.org/bugs/?51442

    – steeldriver
    Mar 28 at 19:05











  • well, that worked for me

    – Mudit Kumar Singh
    Mar 28 at 19:13











  • can I have a more of a permanent solution I have to put the cmd every time I close octave

    – Mudit Kumar Singh
    Mar 28 at 19:14

















Please edit your question to include the outputs (from the octave console) of the commands version and graphics_toolkit and (from the Ubuntu terminal) gnuplot --version

– steeldriver
Mar 28 at 18:21





Please edit your question to include the outputs (from the octave console) of the commands version and graphics_toolkit and (from the Ubuntu terminal) gnuplot --version

– steeldriver
Mar 28 at 18:21













Hmm so it seems like I get the same: try setting graphics_toolkit('fltk') or graphics_toolkit('gnuplot') as suggested here Plot generated in Octave is fully black (both worked for me)

– steeldriver
Mar 28 at 19:01





Hmm so it seems like I get the same: try setting graphics_toolkit('fltk') or graphics_toolkit('gnuplot') as suggested here Plot generated in Octave is fully black (both worked for me)

– steeldriver
Mar 28 at 19:01




1




1





... or if you want to stick with the qt engine, you can export LIBGL_ALWAYS_SOFTWARE=1 into your environment before running octave as noted here savannah.gnu.org/bugs/?51442

– steeldriver
Mar 28 at 19:05





... or if you want to stick with the qt engine, you can export LIBGL_ALWAYS_SOFTWARE=1 into your environment before running octave as noted here savannah.gnu.org/bugs/?51442

– steeldriver
Mar 28 at 19:05













well, that worked for me

– Mudit Kumar Singh
Mar 28 at 19:13





well, that worked for me

– Mudit Kumar Singh
Mar 28 at 19:13













can I have a more of a permanent solution I have to put the cmd every time I close octave

– Mudit Kumar Singh
Mar 28 at 19:14





can I have a more of a permanent solution I have to put the cmd every time I close octave

– Mudit Kumar Singh
Mar 28 at 19:14










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1129474%2fhist-plot-in-octave-shows-blank-screen%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 Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1129474%2fhist-plot-in-octave-shows-blank-screen%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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局