How to avoid a Logarithmic singularity in a plot or define it to have a nicer plot ?
Mostrar comentarios más antiguos
Hi,
I am having a problem with the logarithmic singularity appearing in my plots. When I want to plot the contour/ezplot plot of a function due to the singularity there occurs a problem, and the plots appear too strange. Any suggestion please to avoid the singularity/branch cut or to get a nicer plot for the functions which have a logarithmic singularity or using the ezplot.
an example; if I want to have its contour plot for level zero or its ezplot, what would you suggest me?
contour( imag(1i*(4-x-1i*y).^(2)-32*log(1i*(4-x-1i*y))));
Thank you
4 comentarios
Walter Roberson
el 21 de Dic. de 2015
This is a bit vague about what you would want the plot to look like or about why the plot looks "strange".
Walter Roberson
el 21 de Dic. de 2015
See also my update to one of your earlier questions
murat kara
el 21 de Dic. de 2015
Walter Roberson
el 22 de Dic. de 2015
You could use the clogn that I showed in your other question.
Respuestas (0)
Categorías
Más información sobre Contour Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!