Since you are new, let us show you how Trendy works.

Close-button

How I am doing on Cody

  • Created by: Ye Cheng
  • Latest result: Plot created
  • Created on: 21 Feb 2012

People are competitive.

Plot Image
plot(time1464,data1464,'LineWidth',3);
ylim([min(data1464)-10,max(data1464)+10])
xlabel('Date'),ylabel('My Cody Ranking')
set(gca,'YDir','reverse')
datetick
Tags:

Add Tags


2 comments

Ned Gulley almost 3 years ago

Rather than using negative numbers, you might want to set the 'YDirection' property on the axis to 'reverse' like so:

set(gca,'YDir','reverse')

Ye Cheng over 2 years ago

Thanks Ned!