title: Positive & Negitive Log10 Scale Y axis in Matlab
body: <p>Hi i'm having a problem where I have a dataset which ranges between -10^3 to 10^3</p>
  
  <p>I need to be able to plot this as with a log scale but semilogy cannot plot negative values</p>
  
  <p>Say for example my data is:</p>
  
  <pre><code>x = [-3,-2,-1,0,1,2,3];
  y = [-1000,-100,-10,1,10,100,1000];
  </code></pre>
  
  <p>(or in general <code>y=sign(x).*10.^abs(x);</code>)</p>
  
  <p>How can I plot this in MATLAB with a log scale? If possible It would be great if the log scale ticks could be on the Y-axis too</p>