I have a problem. If i create a graphic using the function "plot" with time data vs temperature data and then i want make a legend with funtion "legend", i don't know what write in "x"(this define the position) because this data aren't "numeric", are "POSIXct".
What i do now?
To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:
Thanks for adding the reprex but have in minde that you are not using a copy/paste friendly format and your reprex is not self contained making it harder to help you, in case you prefer here is the spanish version of the reprex guide
About your question, you just have to use a POSIXct value for the x axis, see this example.