In conventional spacetime diagrams (where inertial worldlines and lightlines are all represented by straight lines) the worldlines of accelerated observers must be bent (and so cannot be used as cartesian coordinate axes). If the acceleration of an observer is small enough and brief enough for velocity changes to be small relative to the speed of light, then the experience of that observer can be usefully approximated by treating it as inertial. (But how small the velocity changes must be kept depends on how accurately we are able to measure things, and the limiting factor is that the accelerations must be small and brief enough that relativistic effects are smaller than the experimental errors.)
In the case of a traveler passing an inertial observer at high speed and then decelerating and returning (as pictured in the diagram from your comment),
the world lines of the traveler and the inertial observer cannot both be represented by straight lines from the first meeting to the second since they intersect at two points and are not the same. In this example the velocity change is fixed and substantial, so even if the acceleration is very small then the time has to be very long and relativistic effects of acceleration may accumulate to noticeable amounts even if they are not noticeable over smaller time scales.
So, since a conventional spacetime diagram requires all inertial world lines to be straight we cannot draw such a diagram for the whole story in which the traveller’s world line is the t-axis.
We can however draw such diagrams for short time intervals in which the traveller’s velocity does not change too much.
And by piecing together such diagrams we can get a picture of what the story looks like in terms of the traveler’s coordinates.
(I might call this a “spacetime diagram” from the point of view of the traveler but since it results in a bent world line for the inertial observer it is NOT a spacetime diagram in the conventional sense.)
But note that the resulting picture is NOT a “mirror image” of the diagram drawn in terms of the inertial observer’s coordinates!
Now let’s see in more detail how the above diagram comes about.
For concreteness we might consider the case of a traveller which passes by the Earth at a speed of
In order to plot the two diagrams above, we’ll consider the situation as seen at several times according to the clock of the observer whose coordinates are being used.
For the Earth-based observer’s view of the situation with constant Earth-based acceleration this is easy as the path of the traveler is defined in terms of Earth-based coordinates. At time t years on the Earth clock the traveler is at a distance, in light years, of
But to figure out how the Earth’s position
First we note that because of the changing velocity we can’t just apply a single Lorentz transformation. For example at the event whose Earth-based coordinates are
On the other hand, if we are given the acceleration as felt by the spaceship then we can analyse the spaceship’s view as follows:
At a time
which intersects the Earth’s worldline (given by
so