Change axis of fcontour plot
Show older comments
Hello everyone,
Can someone help me, please?
I'm using this function
fcontour(@(x,y) 3*(x+5)^2 + (x + 5)*(y - 2) + (y - 2)^2);
axis([-100 100 -100 100])
This is the graph

My questions are the following:
1) is it possible to rescale the axis when we use fcontour? (for example in log scale),
2) is it possible to select only a fixed number of contour lines and to visualize only them in the graph?
Thank you very much.
Laura
Accepted Answer
More Answers (1)
laura bagnale
on 24 May 2021
0 votes
Categories
Find more on Contour Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!