Using plot(x,y) nothing appears.

Hello
I use Ubuntu 20:04.
At command window I write the commands:
>>figure()
>> plot([1 2 3],[4; 5; 6])
but not any line appears at the figure window.
No error messages just the figure window pops and then silence .
Thanks

댓글 수: 10

Torsten
Torsten 2024년 11월 6일
If these are the only two lines of code you use, contact TMW Technical Support:
Manolis
Manolis 2024년 11월 6일
Thanks Torsten .
I will give myself a try.
Manolis
Torsten
Torsten 2024년 11월 6일
편집: Torsten 2024년 11월 6일
What do you get if you type
which -all plot
built-in (/MATLAB/toolbox/matlab/graphics/graphics/graph2d/plot) /MATLAB/toolbox/matlab/graphics/math/@alphaShape/plot.m % alphaShape method /MATLAB/toolbox/matlab/bigdata/@tall/plot.m % tall method /MATLAB/toolbox/matlab/graphics/math/@polyshape/plot.m % polyshape method /MATLAB/toolbox/matlab/graphics/math/@digraph/plot.m % digraph method /MATLAB/toolbox/matlab/graphics/math/@graph/plot.m % graph method /MATLAB/toolbox/matlab/timeseries/@timeseries/plot.m % timeseries method /MATLAB/toolbox/bioinfo/bioinfo/@phytree/plot.m % phytree method /MATLAB/toolbox/bioinfo/bioinfo/microarray/@HeatMap/plot.m % HeatMap method /MATLAB/toolbox/bioinfo/bioinfo/microarray/@clustergram/plot.m % clustergram method /MATLAB/toolbox/curvefit/curvefit/@sfit/plot.m % sfit method /MATLAB/toolbox/curvefit/curvefit/@cfit/plot.m % cfit method /MATLAB/toolbox/econ/econ/@semiconjugateblm/plot.m % semiconjugateblm method /MATLAB/toolbox/econ/econ/@conjugateblm/plot.m % conjugateblm method /MATLAB/toolbox/econ/econ/@customblm/plot.m % customblm method /MATLAB/toolbox/econ/econ/@mixsemiconjugateblm/plot.m % mixsemiconjugateblm method /MATLAB/toolbox/econ/econ/@blm/plot.m % blm method /MATLAB/toolbox/econ/econ/@empiricalblm/plot.m % empiricalblm method /MATLAB/toolbox/econ/econ/@mixconjugateblm/plot.m % mixconjugateblm method /MATLAB/toolbox/econ/econ/@diffuseblm/plot.m % diffuseblm method /MATLAB/toolbox/econ/econ/@lassoblm/plot.m % lassoblm method /MATLAB/toolbox/ident/ident/@iddata/plot.m % iddata method /MATLAB/toolbox/ident/nlident/@idnlhw/plot.m % idnlhw method /MATLAB/toolbox/ident/nlident/@idnlarx/plot.m % idnlarx method /MATLAB/toolbox/mbc/mbcdata/@cgrules/plot.m % cgrules method /MATLAB/toolbox/mbc/mbcmodels/@localmulti/plot.m % localmulti method /MATLAB/toolbox/mbc/mbcmodels/@xregtransient/plot.m % xregtransient method /MATLAB/toolbox/mbc/mbcmodels/@localavfit/plot.m % localavfit method /MATLAB/toolbox/mbc/mbcmodels/@xregmodel/plot.m % xregmodel method /MATLAB/toolbox/mbc/mbcmodels/@xregtwostage/plot.m % xregtwostage method /MATLAB/toolbox/mbc/mbcmodels/@localmod/plot.m % localmod method /MATLAB/toolbox/mbc/mbctools/@sweepset/plot.m % sweepset method /MATLAB/toolbox/mbc/mbcview/@cgdatasetnode/plot.m % cgdatasetnode method /MATLAB/toolbox/mpc/mpc/@mpc/plot.m % mpc method /MATLAB/toolbox/risk/risk/@esbacktest/plot.m % esbacktest method /MATLAB/toolbox/risk/risk/@varbacktest/plot.m % varbacktest method /MATLAB/toolbox/robust/rctobsolete/robust/@frd/plot.m % frd method /MATLAB/toolbox/robust/robust/@umargin/plot.m % umargin method /MATLAB/toolbox/shared/channel/rfprop/@propagationData/plot.m % propagationData method /MATLAB/toolbox/shared/drivingscenario/@drivingScenario/plot.m % drivingScenario method /MATLAB/toolbox/shared/msblks_measurement/msblks_measurement/@eyeDiagramSI/plot.p % eyeDiagramSI method /MATLAB/toolbox/shared/msblks_measurement/msblks_measurement/@eyeContour/plot.p % eyeContour method /MATLAB/toolbox/shared/msblks_measurement/msblks_measurement/@eyeMask/plot.p % eyeMask method /MATLAB/toolbox/stats/bayesoptim/@BayesianOptimization/plot.m % BayesianOptimization method /MATLAB/toolbox/stats/classreg/@LinearModel/plot.m % LinearModel method /MATLAB/toolbox/wavelet/core/wavelet/@dtree/plot.m % dtree method /MATLAB/toolbox/wavelet/core/wavelet/@wdectree/plot.m % wdectree method /MATLAB/toolbox/wavelet/core/wavelet/@ntree/plot.m % ntree method
?
Is there any function named "plot.m" that you created by yourself in the list that you get on your computer ?
Manolis
Manolis 2024년 11월 6일
No I can't give myself a try because I use Matlab as Trial Period.
Thanks anyway.
Manolis
Manolis 2024년 11월 6일
I restarted Matlab,run the same lines and now I have some long messages about "rendering issues etc etc" .
Wish me good luck friends.
Star Strider
Star Strider 2024년 11월 6일
... rendering issues ...
Check your graphics driver and update it if necessary.
Manolis
Manolis 2024년 11월 6일
Thanks Strider. That's for I asked everybody to wish me good luck.
At the moment I consider this question closed .
Manolis
Manolis 2024년 11월 6일
Torsten I did not create any function named "plot" at all. In fact I did not create any function.
In fact it is my second day at Matlab-land.
Thanks a lot
Andreas Goser
Andreas Goser 2024년 11월 6일
If I understand you correctly, you are under the impression you cannot contact technical support as your are on a trial? Why is that?
Manolis
Manolis 2024년 11월 6일
II thought it is like that. Anyway thanks for the support.

댓글을 달려면 로그인하십시오.

답변 (1개)

Manolis
Manolis 2024년 11월 6일
편집: Manolis 2024년 11월 6일

0 개 추천

Yes ! It is working -at least so far.
Instead of typing "matlab" at the terminal I typed "matlab -softwareopengl" and lastly I saw the line. It is hint from "https://uk.mathworks.com/help/releases/R2024b/matlab/creating_plots/resolving-low-level-graphics-issues.html" .
Have a nice day everybody and thanks.
Manolis

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

질문:

2024년 11월 6일

편집:

2024년 11월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by