xcoor = Range[1, 2, 1/2];
ycoor = Range[3, 4, 1/2];
(x + y /. x -> xcoor) /. y -> ycoor
These can be values of a 2D function (xcoor,ycoor) for given x and y coordinates. I can’t use directly the function for plotting for IP reasons. I can only use the points that are evaluated at and I would like to have a plot looking like this
Okay maybe I did not pose the question well enough.
xcoor = Range[1, 2, 1/2];
ycoor = Range[3, 4, 1/2];
(x + y /. x -> xcoor) /. y -> ycoor
I want to be able to plot the matrix as data point with respect to xcoor and ycoor. Each point in the matrix has corresponding coordinates. I can’t use the function directly (in this example x+y) . I have to use the matrix values.
It is almost what I want here I added a line to your suggestion but there are still two issues. First if you look at the plot the ticks are wrong, I can’t see the correct values that.