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 ExchangeCreating, 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