Skip to content

Instantly share code, notes, and snippets.

@Jojozzc
Created May 26, 2019 05:40
Show Gist options
  • Save Jojozzc/a874235cefdc52a28765ed3c81315e52 to your computer and use it in GitHub Desktop.
Save Jojozzc/a874235cefdc52a28765ed3c81315e52 to your computer and use it in GitHub Desktop.
move axis center
clc, clear, close all;
x = -10:0.1:10;
y = 1 ./ (1 + exp(-x)); %sigmoid
plot(x, y);
set(gca,'XAxisLocation','origin','YAxisLocation','origin');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment