matlab new or old version perfectly work on win10 PC, but on a virtual machine window 10 cannot plot symbol, figure is empty; but if first plot line, then add symbol, it will work. Thanks for help

1 回表示 (過去 30 日間)
matlab, old or new version, works perfectly on mac or win 10 PC,
but on a win10 virtual machine (after May 2019), I cannot plot symbol
if I use
clear all; clc;
x=[1,2,3,4,5];
y=x.^2;
figure(1),plot(x,y,'*');
I get a empty figure
but if I use
clear all; clc;
x=[1,2,3,4,5];
y=x.^2;
figure(1),plot(x,y);hold on
figure(1),plot(x,y,'*');
I can get both line with symbol on it
It must be caused by parallel Desktop and/or newer win10 update, help is highly appreciated

回答 (1 件)

Nadir Altinbas
Nadir Altinbas 2019 年 10 月 26 日
try for below
plot x,y,r *
  1 件のコメント
Mingliang Zhang
Mingliang Zhang 2019 年 10 月 26 日
Nadir: Thanks for response and your precous time
I tried
figure(1),plot(x,y,'r *')
it still gives me me empty figure
if I directly use in m file or command window:
plot x,y,r *
error message is
Error using plot
Invalid first data argument.
I can plot symbol previously in win 10 virtual machine (before May 2019), but find empty figure around August or September (must relate to some updates of win10). Now I have to use Matlab in Mac side, it is some sort of not convenient.
greetings!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMatched Filter and Ambiguity Function についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by