Register to reply

Matlab - Graph and xlabel error

by PaulaS
Tags: matlab, plot, xlabel
Share this thread:
Nov13-12, 02:02 PM
P: 19

I'm new to matlab and I'm still learning the basics.

I was able to plot the graph. However, when I assign the xlabel the graph disappears.

i.e. I write:

x=[1 2 3 4];

The graph appears. And then when I write:

The graph disappears and I only see the x-axis.

Am I missing something?

Thanks a lot
Phys.Org News Partner Science news on
New model helps explain how provisions promote or reduce wildlife disease
Stress can make hard-working mongooses less likely to help in the future
Grammatical habits in written English reveal linguistic features of non-native speakers' languages

Register to reply

Related Discussions
Matlab Error Math & Science Software 1
Calculating error in gradient of a graph Introductory Physics Homework 1
Error in MATLAB 10a Math & Science Software 2
Scientic error expected in displacement vs time graph and velocity vs time graph Introductory Physics Homework 2
Error in matlab Calculus & Beyond Homework 10