# How to flip/ mirror plot on the diagonal in terms of y(x) = y^(-1)(x) (finverse) on restricted domain.

1 visualizzazione (ultimi 30 giorni)
Niklas Kurz il 5 Gen 2021
Modificato: jessupj il 5 Gen 2021
Given the function:
x(y) = (exp(-y)*((1 - 4*y*exp(y))^(1/2) + 1))/2
usually I should be able to plot the inverse function by:
fplot(finverse(x(y)))
unfortunaly an inverse cannot be found, because it get's imaginary.
However, can I still mirror the existing plot?
An inverse on (-inf, 0] should be possible.
##### 3 CommentiMostra 2 commenti meno recentiNascondi 2 commenti meno recenti
jessupj il 5 Gen 2021
Modificato: jessupj il 5 Gen 2021
if you know y=f(x), shouldn't you just plot ( f(y),y ) or something like that? e.g. plot( fliplr( [ x(:) f(x(:)) ] ))

Accedi per commentare.

### Categorie

Scopri di più su Surface and Mesh Plots in Help Center e File Exchange

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!