1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

LTSpice - Move horizontal axis to center of plot

Discussion in 'Circuit Simulation & PCB Design' started by chrishaig, May 12, 2017.

Tags:
  1. chrishaig

    chrishaig New Member

    Joined:
    May 12, 2017
    Messages:
    1
    Likes:
    0
    Is it possible to move the horizontal axis so that it matches the vertical axis' 0 in LTSpice?
    Instead of:

    http://imgur.com/eYcBMe3 (horizontal axis at -5!)

    it would look something like

    http://imgur.com/geqv2B3 (horizontal axis at 0)

    It's really annoying, because when plotting a function the x axis usually matches the y = 0, so it makes comparing graphics a bit confusing.
     
  2. ci139

    ci139 Active Member

    Joined:
    Apr 12, 2012
    Messages:
    470
    Likes:
    37
    there are at least 2 ways to achieve this
    1. left-click the y-legend , set manually the Top , Tick , Bottom
    2. right-click the plot plane , select (by left-click) the Add Trace , (for your case) 6A , AND the same way -6A
    in case there are some startup fluctuations change your I(R1) (← right-click on it to edit the) formula to uramp(6-(uramp(6-(I(R1)))-6))-6 where 6 sets the ±clipping points
     

Share This Page