Find executionplan from a view or stored procedure

select q.query_plan
from sys.dm_exec_procedure_stats as s
cross apply sys.dm_exec_query_plan(s.plan_handle) as q
where object_id = object_id('Your view or stored procedure name')