Where did christians get the fish symbol?

I think it is called an ichmus(?). It used to be against the law to be a Christian, so when one Christian wants to find out if another person is Christian, they draw the other half of the fish. If the other person is Christian, they will draw the rest of the fish. If not, they won't do anything. They don't know what it is. I hope I got all my info right (: